EEnterUI
DocsComponentsThemesDonation
Get Started
      • Toast
      • Toaster
      • RelativeTime
      • LiveRegion
EnterUIDocsProduct OperationsFeedback StatusMessagingToast
Product OperationsUpdated 6 May 2026

Toast

Transient feedback with restrained semantic variants.

Toast defines how EnterUI handles transient feedback with restrained semantic variants, including default structure, accessible states, and token-driven styling.

#Default usage

Toast anatomy

Toasts use a semantic border instead of loud fills.

    Code
    <ToastPrimitiveProvider>
      <Toast open variant="success">
        <ToastTitle>Published</ToastTitle>
        <ToastDescription>Your component docs are live.</ToastDescription>
      </Toast>
      <ToastViewport />
    </ToastPrimitiveProvider>

    #Import

    Code
    import {
      Toast,
      ToastAction,
      ToastClose,
      ToastDescription,
      ToastPrimitiveProvider,
      ToastTitle,
      ToastViewport,
    } from "@froggdesign/enter-ui-react";

    #Patterns

    Action and close

    ToastAction requires altText from Radix.

      #Accessibility

      Toast behavior is handled by Radix, including viewport semantics, timed announcements, actions, and dismiss controls.

      #API

      • ToastPrimitiveProvider wraps low-level toast usage.
      • Toast variant supports default, success, warning, error, and info.
      • ToastAction requires Radix altText.

      #Styling

      Every exported component accepts className when it renders an element. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

      PreviousSpinner
      NextToaster

      On this page

      1. Default usage
      2. Import
      3. Patterns
      4. Accessibility
      5. API
      6. Styling