Utilitity Classes
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 is doing.
Margins and Paddings
Margins and paddings 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.
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
Padding
Padding defines the space inside of an element.
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
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.
Position
Controls element positioning behavior across breakpoints.
Desktop
Tablet
Mobile
Transform
Controls element translation and rotation.
Width
Controls fixed, responsive, and percentage-based width settings.
Desktop
Tablet
Mobile Landscape
Mobile Portrait
Height
Controls element height and minimum height behavior across breakpoints.
Desktop
Tablet
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 BottomOverlay
Overlay classes are used to create translucent layers above content.
They are commonly used to improve readability on background images or to emphasize text.
Link Overlay
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.