Shadcn/ui Sonner - Figma Component
An opinionated toast component for React. This Figma component is part of our comprehensive design system that brings the popular shadcn/ui library into your design workflow.
Every Sonner variant includes all the necessary states, properties, and styling options you need to create consistent, production-ready designs. The component seamlessly integrates with your existing Figma files and maintains full compatibility with the shadcn/ui React implementation.
Features
- Multiple toast types (success, error, info, warning)
- Rich content with actions and descriptions
- Loading states with promise integration
- Auto-dismiss with customizable duration
- Stacked toast management
- Smooth animations and transitions
Browse all 56 components
- Accordion5 variants
- Alert Dialog5 variants
- Alert4 variants
- Aspect Ratio2 variants
- Avatar8 variants
- Badge5 variants
- Breadcrumb5 variants
- Button Group10 variants
- Button13 variants
- Calendar9 variants
- Card4 variants
- Carousel5 variants
- Chart6 variants
- Checkbox6 variants
- Collapsible3 variants
- Combobox10 variants
- Command4 variants
- Context Menu8 variants
- Data Table1 variant
- Date Picker6 variants
- Dialog4 variants
- Direction1 variant
- Drawer3 variants
- Dropdown Menu11 variants
- Empty5 variants
- Field11 variants
- Hover Card2 variants
- Input Group12 variants
- Input OTP8 variants
- Input13 variants
- Item9 variants
- Kbd4 variants
- Label1 variant
- Menubar4 variants
- Navigation Menu1 variant
- Pagination2 variants
- Popover3 variants
- Progress2 variants
- Radio Group5 variants
- Resizable2 variants
- Scroll Area1 variant
- Select5 variants
- Separator3 variants
- Sheet2 variants
- Sidebar1 variant
- Skeleton5 variants
- Slider5 variants
- Sonner3 variants
- Spinner6 variants
- Switch5 variants
- Table2 variants
- Tabs4 variants
- Textarea4 variants
- Toggle Group6 variants
- Toggle4 variants
- Tooltip3 variants
Toast notifications in Figma
The shadcn/ui figma Sonner provides elegant toast notifications. Design success, error, and loading states in Figma. This shadcn figma component delivers beautiful, accessible feedback.
Multiple toast types
Design Sonner toasts in Figma with the shadcn/ui figma component—success, error, info, and warning. Prototype feedback where users see color-coded notifications, matching shadcn/ui styling.
Action buttons
This shadcn figma Sonner supports action buttons like Undo or Retry. Design toasts in Figma where notifications become powerful feedback tools with immediate user actions.
Toast timing
The shadcn/ui figma Sonner uses 4-6 seconds for messages, longer with actions. Design notifications in Figma with appropriate durations—auto-dismiss for success, persistent for errors following shadcn/ui patterns.
Your questions, answered
Common questions about the Sonner component in the shadcn/ui Figma kit.
Use toasts for brief, non-critical feedback: save confirmations, undo options, background task completions, or error notifications that don't require immediate action. Don't use for critical errors or information requiring user acknowledgment—use Dialogs instead.
4-6 seconds for informational messages, longer for messages with actions (10+ seconds), indefinite for errors requiring attention. Users need time to read and optionally act, but toasts shouldn't linger and clutter the interface unnecessarily.
Yes! Actions like Undo, View, or Retry turn toasts into powerful feedback tools. Keep actions simple—complex interactions belong in Dialogs. Toasts with actions should stay visible longer so users have time to notice and click.
Top-right or bottom-center are common. Top-right is less intrusive (doesn't cover content), bottom-center is more noticeable (good for important feedback). Be consistent—switching positions confuses users about where to look.
Stack 3-5 maximum. More toasts indicate system overload or misuse. If showing many notifications, use a notification center instead of bombarding users with toasts. Quality and relevance matter more than quantity.
Yes, this Figma Sonner component matches the shadcn/ui implementation exactly, ensuring your toast notifications work consistently from design to production with proper timing and animations.