Skip to content

Utility Classes

Vertical layout with consistent spacing.

<div class="stack">
<div>Item 1</div>
<div>Item 2</div>
</div>
ClassGap
.stack--space-md (0.75rem)
.stack-sm--space-sm (0.35rem)
.stack-lg--space-lg (1.5rem)

Horizontal layout with alignment.

<div class="row">
<span>Left</span>
<span>Right</span>
</div>
ClassDescription
.rowHorizontal flex with center alignment
.row-smSmaller gap (--space-xs)
.row-lgLarger gap (--space-md)
.row-betweenSpace between items
.row-endAlign to end
.row-startAlign items to start

Responsive auto-fit grid.

<div class="grid">
<div>Card 1</div>
<div>Card 2</div>
<div>Card 3</div>
</div>
ClassColumns
.gridAuto-fit (min 250px)
.grid-22 columns
.grid-33 columns
.grid-44 columns

Customize the minimum column width:

<div class="grid" style="--grid-min: 150px">...</div>

Max-width centered content.

<div class="center">
Centered content with max-width
</div>
ClassMax Width
.center65ch
.center-narrow45ch
.center-wide90ch

Wrapping horizontal layout for tags/buttons.

<div class="cluster">
<span class="badge">Tag 1</span>
<span class="badge">Tag 2</span>
</div>

Styled lists with proper markers.

<ul class="list">
<li>Item 1</li>
<li>Item 2</li>
</ul>

Works with both <ul> and <ol>, with automatic nested styling.

ClassDescription
.text-primaryPrimary text color
.text-mutedMuted text
.text-subtleSubtle text
.text-faintFaint text
.text-accentAccent color text
.text-xsExtra small text (0.75rem)
.text-smSmall text (0.875rem)
.text-baseBase text (1rem)
.text-lgLarge text (1.125rem)
.text-xlExtra large text (1.25rem)
.text-2xl2x large text (1.5rem)
.text-3xl3x large text (1.875rem)
.text-4xl4x large text (2.25rem)
.font-mediumMedium weight (500)
.font-boldBold weight (700)
.font-monoMonospace font
.truncateTruncate with ellipsis
ClassDescription
.interactiveBorder highlights on hover
.interactive-colorColor changes on hover
ClassDescription
.hiddenDisplay none
.sr-onlyScreen reader only
.hover-revealShow on parent hover
.hide-mobileHide on mobile (< 768px)
ClassDescription
.animate-spinSpinning animation
.animate-pulsePulsing animation

Animations respect prefers-reduced-motion.