ortaui
  1. Components
  2. Feedback

Sonner

Alert-styled toasts tinted by variant on the sonner library. Mount <Toaster /> once, call toast() anywhere.

Installation#

npx shadcn add @ortaui/sonner

Examples#

Toasts#

API reference#

PropTypeDefaultDescription
toast(message, options)sonner API-Also toast.success, toast.error, toast.promise, action and description.
theme / positionToaster props-Forwarded to sonner. Default position is bottom-center.