Box Component
The Box component is the foundation primitive.It accepts all layout, spacing, color, and styling props.
Hover me to see margin change (mt: 4-8, mb: 4-4/12)
ABC(flex - block on hover)
Text Component
Extra Small (xs)Small (sm)Medium (md)Large (lg)Extra Large (xl)2XL
Heading Component
Heading Level 1
Heading Level 2
Heading Level 3
Heading Level 4
Heading Level 5
Heading Level 6
Button Component
Spinner Component
Sizes
Colors (inherits from parent)
Stack Component
Stack (base component)VStack (default direction="column")HStack (direction="row")Stack with different gapsStack with alignment
Stack Item 1
Stack Item 2
Item 1
Item 2
Item 3
Item 1
Item 2
Item 3
gap=1
A
B
gap=2
A
B
gap=4
A
B
gap=6
A
B
align="start"
Short
Longer item
align="center"
Short
Longer item
align="end"
Short
Longer item
Flex Component
Basic Flex (row direction)Flex with justifyFlex with wrapColumn direction
Item 1
Item 2
Item 3
justify="start"
justify="center"
justify="end"
justify="space-between"End
Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Column Item 1
Column Item 2
Column Item 3
Grid Component
Basic Grid (3 columns)4-column GridCustom column templateGrid with rows
1
2
3
4
5
6
Item 1
Item 2
Item 3
Item 4
1fr
2fr (wider)
1fr
Row 1
Row 1
Row 2 (100px height)
Row 2 (100px height)
Row 3
Row 3
Container Component
Container sizesContainer with centerContent
size="sm" (640px max)
size="md" (768px max)
size="lg" (1024px max) - default
size="xl" (1280px max)
size="full" (100% width)
Centered content
Divider Component
Horizontal Dividers (default)Divider ThicknessVertical Dividers
Content above
Content below
Divider ColorsContent below
border-muted (default)
border
primary
accent
success
error
1px (default)
2px
3px
4px
Left
Middle
Right
Spacer Component
Push items apart in flex containerMultiple spacers for equal distributionVertical spacer
Logo
Nav
A
B
C
Header
Footer
Code Component
Plain variant (default)Use
npm install to install packages. The package.json file defines your dependencies.Subtle variantRun pnpm build to compile the project. Check dist/ for output files.Different sizesxs code - Extra smallsm code - Smallmd code - Medium (default)lg code - LargeInput Component
SizesVariantsStates
Label Component
Basic labels
Required indicator
Size and weight variants
Textarea Component
SizesVariantsStatesResize options
Select Component
SizesVariantsStates
Checkbox Component
SizesWithout labelsChecked statesDisabled state
Radio Component
SizesRadio groupDisabled state
Switch Component
SizesWithout labelsOn/Off statesDisabled state
FormField Component
With helper textWith error messageRequired fieldDisabled fieldWith Select
Choose a unique username
Please enter a valid email address
Must be at least 8 characters
This field is disabled
Select your country
IconButton Component
SizesVariantsColor SchemesStates
Alert Component
Status VariantsWith Close Button
SuccessYour changes have been saved successfully.
WarningPlease review your input before proceeding.
ErrorSomething went wrong. Please try again.
InfoNew features are available. Check them out!
DismissableClick the X to dismiss this alert.
Badge Component
Color Schemes (Subtle)
GrayPrimaryAccentSuccessWarningErrorInfo
Color Schemes (Solid)GrayPrimaryAccentSuccessWarningErrorInfo
SizesSmallMedium
Progress Component
ValuesSizesColor SchemesIndeterminate
25%
50%
75%
100%
Skeleton Component
Text Placeholder
Avatar Placeholder
Card Placeholder
Avatar Component
SizesWith Images

Rounded VariantsFallback (no name)
JD
JS
BW
AB
F
M
Card Component
Basic CardCard with Header/Body/FooterShadow Variants
This is a basic card with just body content.
Card Title
Card body content goes here. It can contain any content you want.
shadow="none"
shadow="sm"
shadow="md"
Image Component
Basic Image
Rounded Variants

Error Fallback (broken src)

List Component
Unordered List (no bullets)Unordered List (with bullets)Ordered ListList with Icons
- First item
- Second item
- Third item
- First item
- Second item
- Third item
- Step one
- Step two
- Step three
- Feature one completed
- Feature two completed
- Feature three completed
Link Component
Default Variant
Visit our documentation for more details.
Underline VariantRead the terms of service carefully.
Subtle VariantSee the changelog for updates.
External LinkCheck out example.com (opens in new tab).Tabs Component
Line Variant (default)Enclosed Variant
Manage your account settings and preferences.
Project overview and summary.
Breadcrumb Component
Default SeparatorCustom SeparatorIcon Separator
Pagination Component
Basic Pagination
Current page: 5
Without Edge ButtonsModal Component
Different Sizes
Tooltip Component
Different Placements
With Delay
Disabled
Popover Component
Different Placements
Click trigger to open, click outside or press Escape to close.
Accordion Component
Single Expand (default)Multiple Expand
Content for section 1. Only one section can be open at a time.
Multiple items can be expanded simultaneously.
This is also expanded by default.
Spacing
Padding: p={4}
Horizontal & Vertical: px={6} py={2}
Responsive: p={base: 2, md: 4, lg: 6}
Layout
FlexboxGrid
Item 1
Item 2
Item 3
Grid 1
Grid 2
Grid 3
Colors
Text Colors
ForegroundForeground MutedForeground SubtlePrimaryAccentSuccessErrorWarningInfo
Inverted ColorsInverted ForegroundInverted MutedInverted Subtle
Background ColorsPrimary Subtle
Primary
Primary Emphasis
Accent Subtle
Accent
Accent Emphasis
Borders & Roundness
Border WidthsRoundness
Thin
Medium
Thick
Small
Medium
Large
Shadows
None
Small
Medium
Large