Examples
These previews use the same injected stylesheet as the reference data. Animation utilities rely on keyframes included on documentation routes.
Flex Row
chai-flex chai-items-center chai-gap-4 chai-p-4 chai-rounded-lg chai-border chai-bg-white chai-shadow-sm
Flex Column
chai-flex chai-flex-col chai-gap-3 chai-items-start
Flex Wrap
chai-flex chai-flex-wrap chai-gap-2
Justify Between
chai-flex chai-justify-between chai-items-center
Grid 3 Columns
chai-grid chai-grid-cols-3 chai-gap-4
Grid Cards
chai-grid chai-grid-cols-2 chai-gap-4
12,400
Users
$8,200
Revenue
3,100
Orders
240
Returns
Type Scale
Display — 4xl bold
Heading — 3xl semibold
Title — 2xl medium
Subtitle — xl normal
Body — base with comfortable line height and gray color for readability.
Small — sm for captions and supporting text
Eyebrow — xs uppercase tracked
Font Weights
Thin — 100
Light — 300
Normal — 400
Medium — 500
Semibold — 600
Bold — 700
Black — 900
Text Colors
chai-text-red
chai-text-orange
chai-text-yellow
chai-text-green
chai-text-blue
chai-text-purple
chai-text-pink
chai-text-teal
chai-text-indigo
Text Decoration & Transform
chai-underline — underlined text
chai-line-through — strikethrough
chai-uppercase tracking-wider
chai-capitalize — first letter only
chai-italic — italic style
Padding Scale
chai-p-2chai-p-4chai-p-6chai-p-8Margin & Auto Center
chai-mx-auto chai-max-w-xs
This box is centered with chai-mx-auto
Gap Scale
gap-1gap-2gap-4gap-6gap-8Background Colors
redorangeyellowgreentealblueindigopurplepinkgrayblackwhiteBorder Radius
smdefaultmdlgxl2xlfullBorder Width & Color
chai-border chai-border-gray — 1px gray borderchai-border-2 chai-border-blue — 2px blue borderchai-border-4 chai-border-orange — 4px orange borderBox Shadows
shadow-smshadowshadow-mdshadow-lgshadow-xlshadow-2xlWidth Scale
w-16 — 4remw-32 — 8remw-48 — 12remw-64 — 16remHeight Scale
h-8h-12h-16h-24h-32Position — Relative + Absolute
chai-relative / chai-absolute chai-top-0 chai-right-0
Opacity
25%50%75%100%Buttons
Composed button styles using chai- utilities.
Badges
Alerts
Animations
Keyframes are injected automatically when chai-animate-* classes are found.
pulsespinbounceping