Search the docs

Search Keyframery's docs

Keyframery
Components

Alert Dialog animation

Animate the shadcn/ui Alert Dialog: the confirmation grows out of the button that asked for it and closes back into it, with no changes to your code.

with <Cuts />

What it fixes

A confirmation should read as the answer to the button you pressed. With Keyframery, an alert dialog grows out of the Delete button and closes back into it, so you never lose track of what you're confirming.

Install

npx shadcn add alert-dialog

Nothing else, as long as <Cuts /> is in your layout.

Choose a cut

Alert dialogs follow the dialog menu:

<Cuts dialog="punch-in" />
<AlertDialogContent data-cut="fade" />

Prop

Type

On this page