Skip to main content

Sonner

An opinionated toast component for React.

PreviewDocs

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

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.

Your questions, answered

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.