Spectrum Design Data
  • Components
  • Tokens
  • Registry
  • AI
  • Tools
  • Close button

    Spectrum docs

    The close button is used inside of other components, like a toast or an action bar, for closing or dismissing its parent component.

    Property Type Values Default Required Description
    size string s, m, l, xl m No -
    iconSize string - - No -
    staticColor string white, black - No Static color must not be set for the default version of this component.
    isDisabled boolean - false No -
    state string default, hover, down, keyboard focus default No -