Spectrum Design Data
  • Components
  • Tokens
  • Registry
  • AI
  • Tools
  • Toast

    Spectrum docs

    Toasts display brief, temporary notifications. They're meant to be noticed without disrupting a user's experience or requiring an action to be taken.

    Property Type Values Default Required Description
    text string - - No -
    variant string neutral, informative, positive, negative neutral No -
    actionLabel string - - No If undefined, this button does not appear.
    isAutoDismissible boolean - false No -