Toast
Legacy toast guidance represented here with the current Sonner implementation.
Playground
Installation
Install in any React + Tailwind project:
$npx shadcn@latest add toast
Source
The exact source file used by this page, preferring the Twigs registry file when one exists and falling back to the current shadcn-generated primitive.
// Toast is documented as a shadcn pattern in Twigs.
// It is composed from the primitives shown in the playground.