Spectrum Design Data
  • Components
  • Tokens
  • Registry
  • AI
  • Tools
  • Combo box

    Spectrum docs

    Combo boxes combine a text entry with a picker menu, allowing users to filter longer lists to only the selections matching a query.

    Property Type Values Default Required Description
    label string - - No -
    labelPosition string top, side, in line top No -
    value string - - No -
    width number - - No -
    size string s, m, l, xl m No -
    isRequired boolean - false No -
    necessityIndicator string text, icon icon No -
    hasAutocomplete boolean - false No -
    menuTrigger string input, focus, manual input No -
    isError boolean - false No -
    isDisabled boolean - false No -
    isReadOnly boolean - false No -
    description string - - No -
    errorMessage string - - No -
    state string default, hover (text area), hover (button area), focus + hover, focus + not hover, keyboard focus default No -