UI Components
Shared practical primitives for building interfaces quickly and consistently.
Cards
Surface primitives for content groupings, feature lists, and compact compositions.
Default
Use for standard content on the base page surface.
<Card variant="default">...</Card>
Gloss
Use when you want a more atmospheric or premium surface treatment.
<Card variant="gloss">...</Card>Elevated
Use for emphasis, comparison, or stacked panels within dense layouts.
<Card variant="elevated">...</Card>Interactive Surface States
Use the Card hover API for common lift behavior, and compose restricted utilities for specialized effects.
hoverEffect prop
scale utilities
glow utilities
shine utility
<Card variant="gloss" hoverEffect="hover-lift">Interactive card</Card>
<Card variant="gloss" className="motion-demo-scale-hover tw:motion-demo-scale-hover">Scale card</Card>Composed Product Card
This is the usual pattern: card surface plus tags, text, and a button group.
Reusable Marketing Card
Compose from the primitive. Do not invent a new base card if layout is the only difference.
Media
Use media primitives for compact identity UI, especially team cards, testimonials, and author blocks.
Avatar
Token-based sizing keeps profile imagery aligned with the rest of the system.
<Avatar src="/profile.jpg" alt="Profile" status="online" />
<Avatar alt="Rahiel Studios" fallback="RS" />
<AvatarGroup>...</AvatarGroup>Typical Composition
Maya Chen
Design systems lead
Shared identity block with role copy<div className="tw:flex tw:gap-m">
<Avatar src="/maya.jpg" alt="Maya Chen" />
<div className="section-demo-tight-stack tw:section-demo-tight-stack">
<h4>Maya Chen</h4>
<p className="section-demo-copy tw:section-demo-copy">Design systems lead</p>
<p className="section-demo-copy tw:section-demo-copy">Shared identity block</p>
</div>
</div>Form Primitives
Normal inputs, textareas, select, checkbox, radio, and switch controls for reusable form sections.
Text Inputs
Select
Compound Field API
Standard labels, helper copy, and errors compose independently for React Hook Form or another form-state library.
Label-free Input mode keeps the Field wrapper in control.
Missing / Error States
Multi-step and contact forms should show the exact field that blocks progress.
Choice Controls
Date Picker
Calendar interaction is loaded only on routes that import it; submitted forms still receive a normal ISO date value.
Attachments
Presentation stays separate from upload transport, validation, and storage.
Disclosure Primitives
Accordion behavior extracted from real FAQ sections: single or multiple open modes, tokenized reveal motion, and accessible button/panel wiring.
Single-open Accordion
Use this for FAQ-style lists where one answer should stay focused at a time.
It was extracted from the approved FAQ section behavior, not invented as a generic component dump.
Multiple-open Disclosure
Use this when several cards can stay open, like the FAQ 2 split-card pattern.
Yes. This preserves the independent MAS-style FAQ 2 interaction.
Overlay Primitives
Controlled panels for mobile menus, filters, carts, and contextual side sheets.
Drawer / Sheet
The primitive owns focus trap, Escape/backdrop close, scroll lock, restore focus, and close-on-link behavior. Content stays generic.
Controlled API
const [open, setOpen] = useState(false);
<Drawer
open={open}
onOpenChange={setOpen}
side="right"
size="sm"
title="Menu"
>
...
</Drawer>Modal Dialog
Use this for focused confirmations or compact detail flows. The primitive handles focus, Escape close, backdrop close, and tokenized motion presets.
Modal API
<Modal
title="Modal example"
trigger={<Button>Open modal</Button>}
>
Compact dialog content
</Modal>Tooltip
Use this for short contextual hints on controls or inline labels. The trigger receives aria-describedby automatically.
Tooltip API
<Tooltip text="Helpful hint" position="top">
<Button>Hover or focus me</Button>
</Tooltip>Feedback Primitives
Status labels, notices, and loading states with tokenized tones and reduced-motion support.
Badges & Alerts
Loading States
Toast
Spatial notifications with consistent enter/exit motion, dismiss controls, actions, and paused timeouts during stack interaction or while the tab is hidden.
Icon Lab
The icon catalog lives on its own page so this primitive reference stays focused.
Full Icon Catalog
Browse shared symbols, social marks, rating stars, and trust badges in the dedicated icon lab.