Components

Every component owns its roles, keyboard handling and focus. Style it with the Clarity theme, with your own CSS on its data-* attributes, or not at all. Each page has a live preview, the parts and props, the keyboard map and the ARIA pattern it follows.

Containers, dividers and text, with the HTML semantics already right.

Inputs that submit with the form, validate with the browser and reset with it.

Pressable things, alone or in groups with one tab stop.

Dialogs, popups and menus with focus, dismissal and positioning handled.

Moving between views and revealing more without leaving the page.

Telling the user what is happening, visibly and to assistive tech.

People, records and structured values.

Providers and building blocks for your own components.