Alert dialog
A window that asks for a yes or no before something can't be undone.
A window that asks for a yes or no before something can't be undone.
It uses Button, which the command adds for you.
npx shadcn@latest add alert-dialog
npm install radix-ui
First time with shadcn/ui? 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.