Component packs › Helium › Float-away Delete

Float-away Delete

Press the bin and a balloon inflates on the row, ties on and carries it up and away while the rows below close the gap.

Float-away Delete is a list delete from Helium, a component pack with 6 balloon controls: Controls made of balloons: they inflate, float on their strings, carry things away and pop. Price: $2 for the whole pack.

Built with: row carried by a balloon, list closes up, 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.

Float-away Delete props

PropTypeDefaultDescription
itemsFloatAwayItem[]
labelstring
darkboolean
onDelete(item: FloatAwayItem) => void
onUndo(item: FloatAwayItem) => void
autoplaynumber | falseShowcase mode: deletes a row, then undoes it, every N ms while visible.

Methods on the ref

Use it in React

import FloatAway from './FloatAway';

<FloatAway />

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

More in Helium

Good for: File upload.