Components

The pieces the Lab and the post editor need first. Each follows the interaction rules; every state below is the real component.

Button

Primary is the one next step on a screen: Export, Generate. Never two on one screen.

Secondary is bordered: everything else that does something. Hover only darkens the border.

Ghost is for repeated or low-stakes actions inside panels: Reset, toolbar toggles.

Labels are verbs, Hungarian in the post tools, English in the Lab. No danger variant: say what happens in words.

In a Lab panel footer: one primary, the rest secondary or ghost.

Sizes
Toggle
States
NormalHoverPressedFocusDisabledLoadingSelectedInvalid
primaryn/a · Never a togglen/a · Not a field
secondaryn/a · Not a field
ghostn/a · Not a field

Fields

Text field for content: headline, place, booking URL, seed.

Select for one choice from a short known list: specimen, treatment, format.

Slider for continuous values you judge by eye: cell size, contrast, leading. Always show the value next to it.

Invalid shows a 2 px ink border and a message with an icon, never red.

Add the event date.

States
NormalHoverPressedFocusDisabledLoadingSelectedInvalid
inputn/a · Text fields don't pressn/a · Fields don't loadn/a · Not selectable
selectn/a · Options load before opening
select item
Halftone
Halftone
n/a · Picks on releasen/a · Keyboard highlight = Hover
Halftone
n/a · n/a
Halftone
n/a · Not a field
slider
n/a · Instantn/a · Not selectablen/a · Always in range

Component index

PieceWhere its states are drawnCodeStatus
ButtonComponents › Button › Statessrc/components/ui/button.tsxbuilt
Text fieldComponents › Fields › Statessrc/components/ui/input.tsxbuilt
SelectComponents › Fields › Statessrc/components/ui/select.tsxbuilt
SliderComponents › Fields › Statessrc/components/ui/slider.tsxbuilt
Tabs (segmented, line)Brand › headersrc/components/ui/tabs.tsxbuilt (shadcn), no states matrix yet
Logo, Leaf, ΛFoundations › Logosrc/brand/logo.tsxbuilt
Shader orbs (orbkit)not drawnsrc/components/ui/shdr-*.tsximported, not on brand tokens

One icon set: UIX Icons Sharp, from src/components/icons.tsx. Icon trial