View as Markdown

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.

    4 demos

  • ToggleButton

    A button with a pressed state (aria-pressed), controlled or uncontrolled, that can take part in a form through a hidden input.

    1 demo

  • ButtonGroup

    A labelled group of buttons with joined borders, a vertical orientation and group-wide variant, tone, size and disabled defaults.

    1 demo

  • 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.

    1 demo

  • 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.

    1 demo

Menus

  • Menu Button and Menu

    MenuButton opens a Menu of items, checkable items, groups, separators and submenus, with the APG menu button keyboard model, typeahead, RTL and lazy popups.

    6 demos

  • Split Button

    SplitButton joins a primary Button and a menu trigger in one group, with the Menu Button keyboard model on the trigger and Alt+ArrowDown on the primary part.

    2 demos

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.

    1 demo

  • 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.

    1 demo

  • Chips

    Chips split by interaction - action chips are small Buttons, choice and filter chips a chip-variant ToggleButtonGroup, input chips a TagGroup.

    2 demos

  • Speed Dial

    The speed dial as a recipe, a floating icon-only MenuButton that opens a short list of actions above itself.

    1 demo