@repo/ui Component Library

Toast

Lightweight notification toasts powered by Sonner. Supports success, error, warning, info, loading, and promise variants.

Basic Variants

The four standard toast types.

With Description

Add more context with a description below the title.

With Action

Include an inline action button inside the toast.

Loading & Promise

Show a loading state that auto-resolves to success or error.

Custom Duration

Control how long toasts stay on screen.