Getting Started
Foundations
Components
Search for a command to run...
Toaster (also called Toast or Snackbar) provides brief, non-intrusive notifications that appear temporarily on the screen to inform users about actions, events, or states. Toasts automatically dismiss after a timeout or can be manually closed. They're ideal for success confirmations, error messages, information updates, or any feedback that doesn't require immediate user action.
Built on top of Sonner library with smooth animations, stacking behavior for multiple toasts, customizable positioning, and accessibility support including proper ARIA attributes for screen reader announcements.
import { Toaster } from "@strongtie/design-system/toaster"All components accept standard HTML attributes and React props.
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
Other CSS classes used by this component:
grouptoasttoast-actiontoast-canceltoast-closetoast-descriptiontoast-titletoasterEnsure proper accessibility attributes are added when implementing this component.