Measured entry
tripled-native-delete-shadcnui
buttonminimal-flatmotion on file
A client-side React delete button that changes into a confirmation action and reveals a separate cancel control with animated layout and icon transitions. It ships as a shadcn registry TSX component and depends on React, Framer Motion, Lucide icons, a local shadcn Button, and the cn class utility.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 71.5 KB (136.9 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 41.05s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-shadcn/src/components/native/native-delete-shadcnui.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused, accessible inline delete confirmation that builds and mounts cleanly in the prepared harness. The interaction is useful for simple destructive actions, but its animation dependency is substantial for a button. It needs a shadcn-style setup and does not work as a bare drop-in.
Use it if
- You want an inline confirmation step for destructive actions without opening a dialog.
- Your app already uses shadcn conventions, Tailwind utility classes, and Framer Motion.
- You need configurable labels, sizing, icons, disabled state, and separate callbacks for opening and confirming the action.
Skip it if
- A destructive action needs an explanation, typed confirmation, or recovery details that belong in a dialog.
- You want to avoid adding Framer Motion for one small interaction.
- Your design system does not expose shadcn-compatible Button variants or the cn utility.
- You need confirmation state controlled by a parent or preserved across rerenders.
Install
| Declared dependencies | framer-motion, react, radix-ui |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add React, Framer Motion, Lucide React, and the button's Radix-backed requirements, then provide a compatible Button component, a cn class-merging utility, Tailwind styles for destructive and outline variants, and matching import aliases.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/moumen-soliman/uitripledAlternatives
Other published entries for the button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-buttonneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-buttonclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- tripled-animated-radio-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glow-link-buttonliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 58.9KB
- Bare
- pass
- Prov
- NO
- tripled-mood-gradient-button-shadcnuigradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 59.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glass-ai-cardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 59.5KB
- Bare
- pass
- Prov
- NO