UI Component Guidelines
Open Components is an open standard for UI components, and this page lists the guidelines for every component it covers. Each one walks you through building a component that looks right, works for everyone, feels familiar to developers and can be checked by your agents. The guidelines are free to use, share and adapt under CC BY 4.0, as long as you credit us.
Every component has an Overview, with its At a glance table, its checklist and a tested reference implementation, then a page per layer. The User Interface (UI) is how it looks, the User Experience (UX) is how it behaves for every person and input, the Developer Experience (DX) is how developers use it, and the Agentic Experience (AX) is how agents read, build and check it.
If you're new here, the Button is the best place to start, since it sets the sizes, colours and states the other components share. The Roadmap lists the components we're writing next.
Actions and forms
These are the components people use to act and to fill in forms:
Button
The Button lets people act on what's in front of them, from saving a form to deleting a file.
Field
The Field labels a form control, with a hint and an error message when it needs them.
Input
The Input takes a single line of text, like a name, an email address or a search.
Textarea
The Textarea takes longer text, like a comment or a message.
Checkbox
The Checkbox lets people say yes or no to one thing, like agreeing to the terms.
Checkbox Group
The Checkbox Group lets people pick any number of options out of a few.
Radio Group
The Radio Group lets people pick one option out of a few, when they all fit on the screen.
Switch
The Switch flips a setting on or off, with an effect people see right away.
Select
The Select lets people pick one option, or several, out of many, from a list.
Combobox
The Combobox filters a list of suggestions as people type, like when they pick a country.
Tag
The Tag labels what something is about, like a topic or a picked value, and people can remove it or follow it.
Tag Group
The Tag Group shows a set of tags, like an issue's labels or a search's filters, that people can remove one by one.
Overlays
These sit on top of the page, next to what opened them or in front of everything else:
Dialog
The Dialog asks for someone's full attention, and holds focus until they're done.
Popover
The Popover shows more next to what opened it, without blocking the rest of the page.
Tooltip
The Tooltip gives a short hint on hover and focus, like an icon-only button's label.
Feedback and display
These tell people what's going on, or group what they need to know about one thing: