Home/Components

Components

Atoms — the smallest building blocks. 44 components mirroring the live tate2301/huchu UI primitives, each documented end-to-end.

44 componentsLucide iconsMirror of huchu/components/ui
Prefix & modifier conventions
Prefix. .b-* = block (mobile-first layout primitive). .x-* = composed pattern (cross-shell flow). Unprefixed = atomic primitive. Roadmap (see audit A-1): collapse .b-* and .x-* into one prefix once the breaking-change window opens.
Modifiers. Size = postfix (btn-sm, avatar-sm). Tone = compound (.btn.tone-danger, .badge.tone-success). Variant = postfix (btn-ghost, btn-primary). See audit A-2 / N-1.

Action

The user reaches for these every minute.

Input

Text, choices, switches.

Identity & status

Small surfaces that tell the operator what state something is in.

Floating surfaces

Things that overlay the page.

Wait & progress

For things that take time.

Layout primitives

Composable rows and containers.

Specialised

Composite primitives that live across the platform.

Data & feedback

Tables, tabs, tags, toasts and progress placeholders. Newly catalogued — pages existed but weren’t indexed (see reuse audit G-1).

Form & surface helpers

Small primitives that close the gap between form shell, list, and overlay. Newly catalogued from the reuse audit (M-1, M-3, M-4).