
Destructive delete confirmation dialog with alert triangle avatar, warning message, optional do not ask again checkbox, and cancel or delete actions.
@shadcn-studio
import { Button } from '@/registry/new-york/ui/button'
import ErrorDialog from '@/registry/new-york/components/blocks/dashboard-dialog-22/dialog-error'
const DialogPage = () => {
return (
<div className='flex h-dvh items-start justify-center p-8'>
<ErrorDialog
defaultOpen
trigger={
<Button variant='outline'>
<span>Delete</span>
</Button>
}
/>
</div>
)
}
export default DialogPage



























