Salmon UI Buttons documentation
Every page below embeds live demos; each demo also has a standalone route.
Components
- Button
A native button with tones, variants, sizes, icons, icon-only metrics, press-and-hold repeat and a render prop for links, plus the rules every Buttons component shares.
- ToggleButton
A button with a pressed state (aria-pressed), controlled or uncontrolled, that can take part in a form through a hidden input.
- ButtonGroup
A labelled group of buttons with joined borders, a vertical orientation and group-wide variant, tone, size and disabled defaults.
- ToggleButtonGroup
Single selection as an APG radio group or multiple selection as toggle buttons, with one tab stop, arrow keys mirrored in RTL and native form submission.
- TagGroup
Input chips as an APG grid - removable tags with Delete / Backspace, optional single or multiple selection, a form value, and keyboard or drag reordering within and across groups.
Recipes
- Progress Button
The progress button as Button props - a loading spinner that keeps focus and a progress fill driven by the application's real progress.
- Floating Action Button
The floating action button as a floating Button - circular, elevated and positioned by CSS in the viewport or the nearest positioned parent, in nine logical positions.
- Chips
Chips split by interaction - action chips are small Buttons, choice and filter chips a chip-variant ToggleButtonGroup, input chips a TagGroup.
- Speed Dial
The speed dial as a recipe, a floating icon-only MenuButton that opens a short list of actions above itself.