Styled Components

Production-quality defaults built on top of headless primitives. Beautiful out of the box, fully customizable.

How Styling Works

Each styled component wraps a primitive and adds:

Component Categories

CategoryComponents
FormsButton, Input, Textarea, Checkbox, Radio, Switch, Select, Form
OverlayDialog, AlertDialog, Tooltip, Popover, Toast, Toaster
NavigationTabs, Accordion
Data DisplayBadge, Card, Skeleton, Spinner
LayoutStack, HStack, VStack, Divider
TypographyText, Heading, Link
UtilitySeparator, VisuallyHidden, Portal, FocusScope

Overriding Styles

Every component accepts a class prop. Your classes are merged with defaults using stratum-tailwind's conflict resolution — later classes override earlier ones for the same CSS property.

override.rs
// Default button is h-9 px-4 — override to larger
<Button class="h-12 px-8 text-lg">"Large"</Button>

Browse all components →

Next: Framework Adapters