Skip to content
hightouchUI

Design system

v40.2.0

Select Toggle Button

Select toggle button is a button styled like the trigger of a Select, for building custom dropdown-style pickers. Use it as the trigger element — typically as a PopoverTrigger child — when a picker needs richer trigger content or overlay behavior than Select or Combobox support, while keeping the standard form-control look.

#

#

#

#

The button always carries an aria-label — yours with ", press to show options" appended, or "Toggle options menu" when you don't pass one. Because aria-label overrides visible content for screen readers, pass one that matches the visible label.

#

#

  • When building a custom picker (e.g. a popover with search, grouping, or rich rows) whose trigger should look like a standard Select.
  • This should be rare — reach out in #hightouch-ui on Slack before building a custom picker.

#

  • If a standard option list works, use a Select or Combobox — they handle the overlay, keyboard navigation, and selection state.
  • For triggers that should look like buttons, use a Button or Menu.

#

Also accepts standard button element props.

NameDefaultDescription
size

"sm" | "md" | "lg"