Spectrum Design Data
  • Components
  • Tokens
  • Registry
  • AI
  • Articles
  • Specification
  • Tools
  • Clear button

    Spectrum docs

    An icon-only button inside another component that clears or removes its value, such as the remove control on a tag or the clear control in a search field.

    Property Type Values Default Required Description
    size string s, m, l, xl m No -
    staticColor string white - No Static color must not be set for the default version of this component. React Spectrum sets it on a selected, emphasized tag, whose background is accent.
    isDisabled boolean - false No -