Component packs › Dovetail › Plane Delete

Plane Delete

A hand plane runs along the row and shaves the name off behind its blade in curling shavings, then the row closes.

Plane Delete is a delete from Dovetail, a component pack with 6 woodwork controls: Dropdowns, toggles, tabs and dialogs made of real-looking oak, walnut and maple. Price: $2 for the whole pack.

Built with: shavings with gravity, clip behind the blade, undo.

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.

Plane Delete props

PropTypeDefaultDescription
itemsstring[]
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
onDelete(name: string) => void
autoplaynumber | falseShowcase mode: planes off a row and undoes it every N ms while visible.

Methods on the ref

Use it in React

import PlaneDelete from './PlaneDelete';

<PlaneDelete />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Dovetail

Good for: Menus and popovers, Skeuomorphic UI.