Toast
A short message that slides in at the bottom and goes away on its own.
A short message that slides in at the bottom and goes away on its own.
npm install @heroui/react lucide-react
First time with HeroUI? Set it up once.
The code for every component comes with paid plans, along with the rest of the AI toolkit. The first component under each heading is free.
Toasts show in a Toast.Provider: add it once to your root layout (see Set up once).
Changed for this site: A default export (HeroUI's docs use named ones); lucide-react icons instead of @gravity-ui/icons.