Component packs › Kintsugi › Shatter Undo
Delete breaks the card along jagged lines from where you pressed; Undo flies the shards back and fills every break with gold.
Shatter Undo is a delete from Kintsugi, a component pack with 6 crack and mend controls: Controls glazed like ceramic: errors crack them, and the repair flows in as gold. Price: $2 for the whole pack.
Built with: shards from the press point, undo rebuilds, gold seams on the breaks.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
title | string | ||
text | string | ||
seconds | number | 6 | Seconds before the delete is final. Default 6. |
onDelete | () => void | ||
onUndo | () => void |
readonly state: 'shown' | 'shattered' | 'deleted'shatter(): voidundo(): voiddestroy(): voidimport ShatterUndo from './ShatterUndo';
<ShatterUndo />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.