Components
Components
Every sideby component, with live demos, the props that matter and code you can copy.
Every component here is built on Bits UI behaviour with a sideby skin made only of tokens. Each page shows it live, lets you change its main props and hands you the code for exactly what you see. The rules every component follows live in packages/ui/CONVENTIONS.md.
Actions
Inputs
- Input and Field A single-line text field, its label, and the Field that ties label, help and error to the control.
- Switch An on-off setting that takes effect the moment you flip it.
- Toggle group Segmented controls for picking one option or several, plus the standalone Toggle they are made of.
- Textarea A multi-line text field that grows with what you type, then scrolls.
- Select Pick one option from a short list, with full keyboard support and typeahead.
Overlays
- Dialog A modal layer for content that needs the room's full attention for a moment, with focus held inside until it closes.
- Alert dialog A confirmation that asks one question and waits for an answer. Clicking outside does not count as one.
- Dropdown menu A short list of actions behind one button, such as what the host can do to a member of the room.
Feedback
People
- Badge A small chip in the label voice that says what state something is in, with a tone from the fixed tone vocabulary.
- Member status The seven sync statuses a room shows next to each member, each with its tone, its mark and its words.
- Avatar A member as a circle, with their photo or initials, an optional presence mark, and a stack that shows who is in the room.