byronwade/ui
Application UI

Feedback · Application UI

Sonner

A themed toast notification provider that wraps the Sonner Toaster with @wrksz/themes integration and custom Phosphor icons for success, info, warning, error, and loading states.

Feature showcase

Installation

Features

  • 9 examples

    Default, Custom, Dismissible, Positions, Promise, Rich Colors, Variants, With Action, With Description.

API

Props

PropTypeDefaultDescription
...propsToasterProps-All props from Sonner's ToasterProps are forwarded directly to the underlying Toaster (e.g. position, richColors, expand, duration, closeButton, offset).

Source and related

FilePath
Componentregistry/ui/sonner.tsx
Default examplecontent/examples/sonner/default.tsx
Custom examplecontent/examples/sonner/custom.tsx
Dismissible examplecontent/examples/sonner/dismissible.tsx
Positions examplecontent/examples/sonner/positions.tsx
Promise examplecontent/examples/sonner/promise.tsx
Rich Colors examplecontent/examples/sonner/rich-colors.tsx
Variants examplecontent/examples/sonner/variants.tsx
With Action examplecontent/examples/sonner/with-action.tsx
With Description examplecontent/examples/sonner/with-description.tsx