Flowkit Framework

Introduction

Flowkit is a modular CSS Framework designed to power visually consistent and flexible Webflow websites — especially those generated by Webflow AI. It provides a structured collection of reusable utility classes, component patterns, and design tokens that streamline layout, styling, and interactions across your entire site.

Built with scalability and clarity in mind, Flowkit helps:


Style guide

The Flowkit style guide provides an overview of all the components and utility classes used in the project. Each website generated by Webflow’s AI tools includes a style guide page generated by the Flowkit framework.

Style Guide
Note

Style guide is a great place to change styles of the elements and components. To change colors, fonts, or spacing, open the variables panel or make the adjustments directly from the Designer canvas. Learn more about variables.


Naming conventions

This framework uses a structured naming system with hyphens and underscores that creates predictable, reusable classes organized into four main types.

Hyphens ’ - ’ Usage

Hyphens are used to:

  1. Connect multiple words within component names, property names, or values:
    • rich-text
    • text-align_center
    • margin-top_small
    • background_primary
  2. Define combo class modifiers (component states, surface context, spacing, interactions):
    • is-secondary
    • on-inverse
    • gap-small
  3. Responsive modifiers for combo classes:
    • flex_horizontal tablet-vertical
    • grid_5-col mobile-2-col

Underscores ’ _ ’ Usage

Underscores are used to:

  1. Separate components from their parts or properties:
    • card_body
    • nav_logo
    • footer_link
  2. Connect utility properties with their values:
    • margin-top_small
    • width_40percent
    • z-index_2
  3. Apply responsive variants of utility classes by adding breakpoint postfixes:
    • text-align_center_mobile — center-aligned text on mobile
    • width_100percent_mobile-l — full width on large mobile
Responsive modifiers: `_` vs `-`

There is a clear distinction between _ and - when working with responsive utility classes in Flowkit:

  • _mobile is used within utility classes to apply styles only at a specific breakpoint.
    Example:
    text-align_center_mobile means the text will be center-aligned only on mobile.
    This class is scoped to mobile resolution and does not apply on tablet or desktop.

  • mobile- is used as a combo modifier to override or change a base style on mobile.
    Example:
    text-align_center mobile-align-left
    This means the text is center-aligned by default, but switches to left-aligned on mobile.

Use _mobile when you want a utility to appear only at a certain breakpoint, and mobile- (or similar prefixes) when you want to override an existing style responsively using a combo class.


Class types

There are four main types of classes: Component, Utility, Combo, and Responsive Modifiers. Each of these class types follows specific naming patterns for consistency and clarity.

Component classes

Component classes define standalone UI elements with their own structure and functionality.

Naming Pattern: component_property or component_part_property

ExamplePurpose
cardFlexible content container with shadow and padding
card_bodyThe body part of a card component
navMain website navigation bar
nav_logoThe logo part of a navigation component
footer_linkA link element within the footer
footerSite-wide footer container
buttonReusable clickable element
bannerPromotional or announcement container

Component classes define reusable building blocks of the UI and may have nested sub-elements, with naming that follows the parent component.

Here is an example of a Nav component with its nested elements:

nav
nav_links
nav_logo-icon
nav_link

Utility classes

Utility classes provide single-purpose styling that can be applied to any element.

Naming Pattern: property_value

ExamplePurpose
margin-top_mediumApplies medium top margin
padding-horizontal_largeApplies large padding on both sides
z-index_2Sets z-index to 2
background_primarySets background to primary color
text-align_centerCenters text horizontally
text-align_leftApplies left text alignment
text-align_rightApplies right text alignment
display_inline-blockApplies inline-block display
Note

Utility classes may apply multiple CSS properties, but always serve a single visual purpose.


Combo classes

Combo classes are modifiers that change the appearance or behavior of components. They use specific prefixes to indicate their purpose.

PrefixPurpose
is-Component-related modifiers
on-Surface context modifiers
gap-Spacing modifiers for flex and grid
ix-Interactions related
tablet-, mobile-l-, mobile-Responsive modifiers

Combo classes are always following a main class: main class prefix-modifier-name

ExamplePurpose
button is-secondaryChanges button to secondary style
text-link on-accent-primaryAdapts text link for accent-primary background
flex_horizontal gap-mediumSets medium gap in flex container
section is-secondaryAdjust section background and text color

Responsive modifiers

Responsive modifiers apply styles at specific breakpoints. They use device-specific postfixes.

Postfix:

  • _tablet - Tablets
  • _mobile-l - Mobile landscape
  • _mobile - Mobile portrait
ExamplePurpose
width_100percent_tabletChanges an element to full width on tablet screens
text-align_center_mobileCenters text on mobile screens

Sizes

T-shirt sizing provides a consistent way to name size-related classes for things like spacing, borders, text, and icons.

SizeExample
xxsmallicon is-xxsmall
xsmallicon is-xsmall
smallradius_small
mediumtext_medium
largegap_large
xlargeradius_xlarge
xxlargepadding-top_xxlarge

This scale applies to layouts, spacing, typography, shadows, and other properties.


Surface modifiers

The following surface modifiers are used across button, text, nav, icon, and card components. These follow the on-[surface] naming structure and appear in combinations for alternate background styling.

SurfaceExample
Accent Primarybutton is-secondary on-accent-primary
Accent Secondarytext-link on-accent-secondary
Accent Tertiaryicon on-accent-tertiary
Primarycard-link on-primary
Secondarycard-link on-secondary
Inversebutton on-inverse

Animation modifiers

Animation-related classes that are used in Webflow Interactions follow the ix_ prefix convention. These classes are not responsible for styling but act as hooks for applying interactions and animations defined in the Webflow Interactions panel.

Examples:

ExamplePurpose
ix_section-scroll-inTriggers scroll-based entrance animation for sections
ix_image-zoom-hoverTargets images that scale on hover
ix_nav-slide-outAnimates navigation on mobile menu toggle
ix_button-tapAdds tap/click animation to buttons
ix_card-flipTriggers flip animation for card components