> This page is for Flowkit CSS Framework, version v1.
> For other versions, use one of these documentation indexes:
> - v2 (default): https://developers.webflow.com/flowkit/v2.0.0/llms.txt
> - v1: https://developers.webflow.com/flowkit/v1.0.0/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.webflow.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server.

# Utilitity Classes

> Utilities are a collection of classes fine-tune layouts and components that render on a website.

Utilities are a collection of modifier classes that fine-tune layouts and components and keep consistency. You can add a utility classes as a combo class to adjust a behavior of the main class or apply it as a main class to define the functionality of an element. Fo instance, if you want to add a shadow to a card, you can add shadow utility class as a combo class for a card:

All utility classes are prefixed with `[Utility]`. The naming of the utility class describes exactly what it's doing.

## Margins and Padding

Margins and padding are applied to sections, containers, and other elements to define inner spacing or distance between elements.

### Margin

Margin defines the space **outside** of an element.

Margin

Padding

Content

Utility classes use this structure:
\[Utility] Margin `Direction` `Value`

**Margin Vertical**

* Direction: `Top`, `Bottom`
* Value: `0`, `0.5rem`, `1rem`, `2rem`, `3rem`, `4rem`, `5rem`, `6rem`, `7rem`, `8rem`, `Auto`

**Margin Horizontal**

* Direction: `Left`, `Right`, `All`
* Value: `0`, `0.5rem`, `1rem`, `2rem`, `Auto`

**Utility classes**

| Class                          | Description                   |
| ------------------------------ | ----------------------------- |
| \[Utility] Margin All 0        | Remove all margin             |
| \[Utility] Margin All 0.5rem   | Apply 0.5rem margin all sides |
| \[Utility] Tablet Margin Top 0 | Top margin 0 on Tablet        |
| \[Utility] Mobile Margin Top 0 | Top margin 0 on Mobile        |

### Padding

Padding defines the space **inside** of an element.

Margin

Padding

Content

Utility classes use this structure:
\[Utility] Padding `Direction` `Value`

**Padding Vertical**

* Direction: `Top`, `Bottom`
* Value: `0`, `0.5rem`, `1rem`, `2rem`, `3rem`, `4rem`, `5rem`, `6rem`, `7rem`, `8rem`

**Padding Horizontal**

* Direction: `Left`, `Right`
* Value: `1rem`, `2rem`

**Padding Around**

* Direction: `All`
* Value: `0`, `0.5rem`, `1rem`, `2rem`, `3rem`, `4rem`

**Padding Utilities**

| Class                              | Description                  |
| ---------------------------------- | ---------------------------- |
| \[Utility] Tablet Padding All 0    | Remove all padding on Tablet |
| \[Utility] Tablet Padding All 1rem | Padding 1rem on Tablet       |

### Responsive Spacing

On smaller screens (like **Mobile Landscape**), some margin and padding utility classes will use **smaller spacing variables** than their desktop counterparts.

For example:

\[Utility] Margin Top 6rem

* 6x on desktop,
* 3x on mobile devices.

This behavior ensures better vertical rhythm and balance on smaller screens without needing to apply breakpoint-specific classes manually.

---

## Display and Overflow

Utilities to control layout visibility and content flow.

| Class                                 | Description                       |
| ------------------------------------- | --------------------------------- |
| \[Utility] Display Block              | Forces element to behave as block |
| \[Utility] Display Inline Block       | Element behaves like inline-block |
| \[Utility] Display None               | Hides element from layout         |
| \[Utility] Overflow Clip              | Clips overflow without scroll     |
| \[Utility] Overflow Hidden            | Hides overflow, no scroll         |
| \[Utility] Overflow Visible           | Makes overflow content visible    |
| \[Utility] Overflow Auto              | Scrollbars appear as needed       |
| \[Utility] Screen Reader Visible Only | Visible to screen readers only    |

---

## Position

Controls element positioning behavior across breakpoints.

<path d="M18 11H19V8.366L21.2811 9.68301L21.7811 8.81699L19.5 7.49999L21.7811 6.18301L21.2811 5.31699L19 6.63399V4H18V6.63395L15.719 5.31699L15.219 6.18301L17.5 7.49999L15.2189 8.81699L15.7189 9.68301L18 8.36604V11Z" fill="currentColor" /><path d="M5.5 6H14V7H5.5C5.22386 7 5 7.22386 5 7.5V17H19V12H20V17L23 17.0273V18.0273H1V17.0273L4 17V7.5C4 6.67157 4.67157 6 5.5 6Z" fill="currentColor" />

**Desktop**

| Class                                     | Description                          |
| ----------------------------------------- | ------------------------------------ |
| \[Utility] Position Relative              | Offsets relative to normal position  |
| \[Utility] Position Absolute              | Removes from flow, absolute position |
| \[Utility] Position Fixed                 | Fixed relative to viewport           |
| \[Utility] Position Fixed Fixed Top       | Fixed to top edge                    |
| \[Utility] Position Fixed Fixed Left      | Fixed to left edge                   |
| \[Utility] Position Fixed Fixed Right     | Fixed to right edge                  |
| \[Utility] Position Sticky                | Sticks to top on scroll              |
| \[Utility] Position Sticky Top 120        | Custom offset sticky                 |
| \[Utility] Position Sticky Sticky Desktop | Sticky only on desktop               |
| \[Utility] Position Static                | Default positioning                  |
| \[Utility] Z-Index 1                      | Layer stacking with values 1–5       |

<path d="M9.99658 17L13.9966 17.0273L14.0034 16.0274L10.0034 16L9.99658 17Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 5C6.67157 5 6 5.67157 6 6.5V17.5C6 18.3284 6.67157 19 7.5 19H16.5C17.3284 19 18 18.3284 18 17.5V6.5C18 5.67157 17.3284 5 16.5 5H7.5ZM7 6.5C7 6.22386 7.22386 6 7.5 6H16.5C16.7761 6 17 6.22386 17 6.5V17.5C17 17.7761 16.7761 18 16.5 18H7.5C7.22386 18 7 17.7761 7 17.5V6.5Z" fill="currentColor" />

**Tablet**

| Class                               | Description                     |
| ----------------------------------- | ------------------------------- |
| \[Utility] Tablet Position Absolute | Set position absolute on tablet |
| \[Utility] Tablet Position Relative | Set position relative on tablet |
| \[Utility] Tablet Position Static   | Set position static on tablet   |

<path d="M11 17H14V16H11V17Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M17 6.5C17 5.67157 16.3284 5 15.5 5H9.5C8.67157 5 8 5.67157 8 6.5V17.5C8 18.3284 8.67157 19 9.5 19H15.5C16.3284 19 17 18.3284 17 17.5V6.5ZM15.5 6C15.7761 6 16 6.22386 16 6.5V17.5C16 17.7761 15.7761 18 15.5 18H9.5C9.22386 18 9 17.7761 9 17.5V6.5C9 6.22386 9.22386 6 9.5 6L15.5 6Z" fill="currentColor" />

**Mobile**

| Class                                    | Description                |
| ---------------------------------------- | -------------------------- |
| \[Utility] Position Sticky Sticky Mobile | Mobile-only sticky support |

---

## Transform

Controls element translation and rotation.

| Class                    | Description                          |
| ------------------------ | ------------------------------------ |
| \[Utility] Move Up 15%   | Shifts element upward by 15%         |
| \[Utility] Move Up 50%   | Shifts element upward by 50%         |
| \[Utility] Move Down 15% | Shifts element downward by 15%       |
| \[Utility] Move Down 25% | Shifts element downward by 25%       |
| \[Utility] Move Down 50% | Shifts element downward by 50%       |
| \[Utility] Rotate -12    | Rotates element left by 12 degrees   |
| \[Utility] Rotate -4.5   | Rotates element left by 4.5 degrees  |
| \[Utility] Rotate 12     | Rotates element right by 12 degrees  |
| \[Utility] Rotate 4.5    | Rotates element right by 4.5 degrees |

---

## Width

Controls fixed, responsive, and percentage-based width settings.

<path d="M18 11H19V8.366L21.2811 9.68301L21.7811 8.81699L19.5 7.49999L21.7811 6.18301L21.2811 5.31699L19 6.63399V4H18V6.63395L15.719 5.31699L15.219 6.18301L17.5 7.49999L15.2189 8.81699L15.7189 9.68301L18 8.36604V11Z" fill="currentColor" /><path d="M5.5 6H14V7H5.5C5.22386 7 5 7.22386 5 7.5V17H19V12H20V17L23 17.0273V18.0273H1V17.0273L4 17V7.5C4 6.67157 4.67157 6 5.5 6Z" fill="currentColor" />

**Desktop**

| Class                   | Description                 |
| ----------------------- | --------------------------- |
| \[Utility] Max Width XS | Restricts max width to XS   |
| \[Utility] Max Width SM | Restricts max width to SM   |
| \[Utility] Max Width MD | Restricts max width to MD   |
| \[Utility] Max Width LG | Restricts max width to LG   |
| \[Utility] Width Auto   | Width auto based on content |
| \[Utility] Width SM     | Small fixed width           |
| \[Utility] Width MD     | Medium fixed width          |
| \[Utility] Width 35%    | Width set to 35%            |
| \[Utility] Width 40%    | Width set to 40%            |
| \[Utility] Width 60%    | Width set to 60%            |

<path d="M9.99658 17L13.9966 17.0273L14.0034 16.0274L10.0034 16L9.99658 17Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 5C6.67157 5 6 5.67157 6 6.5V17.5C6 18.3284 6.67157 19 7.5 19H16.5C17.3284 19 18 18.3284 18 17.5V6.5C18 5.67157 17.3284 5 16.5 5H7.5ZM7 6.5C7 6.22386 7.22386 6 7.5 6H16.5C16.7761 6 17 6.22386 17 6.5V17.5C17 17.7761 16.7761 18 16.5 18H7.5C7.22386 18 7 17.7761 7 17.5V6.5Z" fill="currentColor" />

**Tablet**

| Class                        | Description                   |
| ---------------------------- | ----------------------------- |
| \[Utility] Tablet Width 50%  | Sets width to 50% on tablets  |
| \[Utility] Tablet Width 60%  | Sets width to 60% on tablets  |
| \[Utility] Tablet Width 100% | Sets width to 100% on tablets |

<path d="M11 17H14V16H11V17Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M17 6.5C17 5.67157 16.3284 5 15.5 5H9.5C8.67157 5 8 5.67157 8 6.5V17.5C8 18.3284 8.67157 19 9.5 19H15.5C16.3284 19 17 18.3284 17 17.5V6.5ZM15.5 6C15.7761 6 16 6.22386 16 6.5V17.5C16 17.7761 15.7761 18 15.5 18H9.5C9.22386 18 9 17.7761 9 17.5V6.5C9 6.22386 9.22386 6 9.5 6L15.5 6Z" fill="currentColor" />

**Mobile Landscape**

| Class                                  | Description        |
| -------------------------------------- | ------------------ |
| \[Utility] Mobile Landscape Width 70%  | Sets width to 70%  |
| \[Utility] Mobile Landscape Width 80%  | Sets width to 80%  |
| \[Utility] Mobile Landscape Width 100% | Sets width to 100% |

<path d="M11 17H14V16H11V17Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M17 6.5C17 5.67157 16.3284 5 15.5 5H9.5C8.67157 5 8 5.67157 8 6.5V17.5C8 18.3284 8.67157 19 9.5 19H15.5C16.3284 19 17 18.3284 17 17.5V6.5ZM15.5 6C15.7761 6 16 6.22386 16 6.5V17.5C16 17.7761 15.7761 18 15.5 18H9.5C9.22386 18 9 17.7761 9 17.5V6.5C9 6.22386 9.22386 6 9.5 6L15.5 6Z" fill="currentColor" />

**Mobile Portrait**

| Class                                 | Description        |
| ------------------------------------- | ------------------ |
| \[Utility] Mobile Portrait Width 100% | Sets width to 100% |

---

## Height

Controls element height and minimum height behavior across breakpoints.

<path d="M18 11H19V8.366L21.2811 9.68301L21.7811 8.81699L19.5 7.49999L21.7811 6.18301L21.2811 5.31699L19 6.63399V4H18V6.63395L15.719 5.31699L15.219 6.18301L17.5 7.49999L15.2189 8.81699L15.7189 9.68301L18 8.36604V11Z" fill="currentColor" /><path d="M5.5 6H14V7H5.5C5.22386 7 5 7.22386 5 7.5V17H19V12H20V17L23 17.0273V18.0273H1V17.0273L4 17V7.5C4 6.67157 4.67157 6 5.5 6Z" fill="currentColor" />

**Desktop**

| Class                          | Description             |
| ------------------------------ | ----------------------- |
| \[Utility] Height 100%         | Full height of parent   |
| \[Utility] Min Height 100%     | Minimum height 100%     |
| \[Utility] Viewport Height 50  | 50% of viewport height  |
| \[Utility] Viewport Height 100 | 100% of viewport height |

<path d="M9.99658 17L13.9966 17.0273L14.0034 16.0274L10.0034 16L9.99658 17Z" fill="currentColor" /><path fill-rule="evenodd" clip-rule="evenodd" d="M7.5 5C6.67157 5 6 5.67157 6 6.5V17.5C6 18.3284 6.67157 19 7.5 19H16.5C17.3284 19 18 18.3284 18 17.5V6.5C18 5.67157 17.3284 5 16.5 5H7.5ZM7 6.5C7 6.22386 7.22386 6 7.5 6H16.5C16.7761 6 17 6.22386 17 6.5V17.5C17 17.7761 16.7761 18 16.5 18H7.5C7.22386 18 7 17.7761 7 17.5V6.5Z" fill="currentColor" />

**Tablet**

| Class                             | Description                     |
| --------------------------------- | ------------------------------- |
| \[Utility] Tablet Height Auto     | Sets height auto on tablets     |
| \[Utility] Tablet Min Height Auto | Sets min-height auto on tablets |

---

## Border Radius

Controls element corner roundness using utility classes.

### Component Specific

These are helpful when you need to customize or reset corners without affecting the base component class.

* \[Utility] Radius Card
* \[Utility] Radius Button

### Size Specific

Use the \[Utility] Radius `Size` format to control element corner roundness.
The `Size` follows t-shirt sizing convention: `SM`, `MD`, `LG`, `XL`, `Round`

Example: \[Utility] Radius LG

### Side-specific

These utilities give you full control when working with overlapping sections, containers with flush corners, or when selectively removing roundness.

* \[Utility] Radius All 0
* \[Utility] Radius Top 0
* \[Utility] Radius Right 0
* \[Utility] Radius Bottom 0
* \[Utility] Radius Left 0

---

## Mask

Use utility mask classes \[Utility] Mask (Direction) to apply directional fades to images or elements.
These are commonly paired with Overlay and Image

Apply one of the following as a combo class:

* \[Utility] Mask Top
* \[Utility] Mask Bottom
* \[Utility] Mask Left
* \[Utility] Mask Right
* \[Utility] Mask Horizontal Fade
* \[Utility] Mask Vertical Fade

Example:

Image \[Utility] Mask Bottom

<rect width="1280" height="800" fill="#F0F0F0" />

<path fill-rule="evenodd" clip-rule="evenodd" d="M529.954 336.456C529.954 326.991 537.627 319.318 547.092 319.318C556.557 319.318 564.23 326.991 564.23 336.456C564.23 345.92 556.557 353.593 547.092 353.593C537.627 353.593 529.954 345.92 529.954 336.456ZM547.092 313.46C534.392 313.46 524.096 323.755 524.096 336.456C524.096 349.156 534.392 359.451 547.092 359.451C559.792 359.451 570.087 349.156 570.087 336.456C570.087 323.755 559.792 313.46 547.092 313.46ZM611.751 366.971C612.653 366.971 613.504 367.386 614.059 368.097L659.813 426.672L685.27 394.827C685.826 394.131 686.668 393.727 687.558 393.727C688.448 393.727 689.29 394.131 689.846 394.827L759.359 481.782C760.062 482.662 760.198 483.866 759.711 484.88C759.223 485.895 758.197 486.54 757.071 486.54H700.936C700.875 486.54 700.814 486.538 700.754 486.534C700.694 486.538 700.634 486.54 700.573 486.54H522.929C521.809 486.54 520.787 485.902 520.297 484.895C519.806 483.889 519.931 482.691 520.621 481.808L609.443 368.097C609.998 367.386 610.849 366.971 611.751 366.971ZM702.002 480.682L663.52 431.417L687.558 401.346L750.98 480.682H702.002ZM611.751 374.658L528.933 480.682H694.569L611.751 374.658Z" fill="#ABABAB" />

---

## Overlay

Overlay classes are used to create translucent layers above content.
They are commonly used to improve readability on background images or to emphasize text.

| Class           | Description                              |
| --------------- | ---------------------------------------- |
| Overlay         | Adds a dark semi-transparent background  |
| Inverse Overlay | Adds a light semi-transparent background |

**Link Overlay**

| Class                   | Description                                                                  |
| ----------------------- | ---------------------------------------------------------------------------- |
| \[Utility] Link Overlay | Expands a link to cover its entire container (use inside position: relative) |

**Overlay with Mask**

Combine Overlay with directional mask utility classes to create faded on a side images or faded overlays.

Example:

* Overlay \[Utility] Mask Top
* Overlay \[Utility] Mask Left

---

## Drop Shadow

Add subtle or strong depth to elements using drop shadow utility classes.

* \[Utility] Shadow XXS
* \[Utility] Shadow XS
* \[Utility] Shadow SM
* \[Utility] Shadow MD
* \[Utility] Shadow LG
* \[Utility] Shadow XL
* \[Utility] Shadow XXL

---

## Typography

These utility classes allow you to control alignment and color of text elements globally or responsively.

### Text Color

These utility classes are used to apply specific text colors to an element.

* \[Utility] Text Primary
* \[Utility] Text Secondary
* \[Utility] Text Inverse
* \[Utility] Text Inverse Secondary
* \[Utility] Text Accent Primary
* \[Utility] Text Accent Secondary
* \[Utility] Text Accent Tertiary
* \[Utility] Text Accent On Inverse
* \[Utility] Text Accent On Primary
* \[Utility] Text On Accent Primary
* \[Utility] Text On Accent Secondary

### Text Alignment

Text alignment utilities let you override the default left-aligned behavior.

* \[Utility] Text Align Left
* \[Utility] Text Align Center
* \[Utility] Text Align Right

Responsive modifiers:

* \[Utility] Text Align Center Tablet
* \[Utility] Text Align Right Mobile

---

## Misc

Other utility helpers for visual effects and behaviors.

| Class                           | Description                          |
| ------------------------------- | ------------------------------------ |
| \[Utility] Filter Invert        | Inverts colors (dark/light mode)     |
| \[Utility] Text Decoration None | Removes underline from links or text |
| \[Utility] Backdrop Filter Blur | Applies backdrop blur filter         |
| \[Utility] Link Content Block   | Expands link to fill container       |