Component packs › Helium › 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.
| Prop | Type | Default | Description |
|---|---|---|---|
items | FloatAwayItem[] | ||
label | string | ||
dark | boolean | ||
onDelete | (item: FloatAwayItem) => void | ||
onUndo | (item: FloatAwayItem) => void | ||
autoplay | number | false | Showcase mode: deletes a row, then undoes it, every N ms while visible. |
readonly items: FloatAwayItem[]remove(id: string): voidundo(): voiddestroy(): voidimport FloatAway from './FloatAway';
<FloatAway />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: File upload.