Components
A destructive button with a shake effect and underline animation on hover.
npx shadcn@latest add https://21st.dev/r/drdruide/destructive-buttonLoading preview...
'use client';
import { DestructiveButton } from '@/components/ui/destructive-button';
function DestructiveButtonDemo() {
return (
<div className="flex min-h-[200px] w-full items-center justify-center gap-8 bg-white dark:bg-neutral-950">
<DestructiveButton>
Delete Account
</DestructiveButton>
</div>
);
}
export { DestructiveButtonDemo }