Component packs › Caret › Inertia Grab
An open hand closes on a note; drag it and let go with speed and it keeps going, tilting, slowing with friction and bouncing off the edges.
Inertia Grab is a cursor from Caret, a component pack with 6 cursors: Custom cursors that read what they are over and turn into its tool. Price: $2 for the whole pack.
Built with: open and closed hand, throw with inertia and friction, arrow keys move notes.
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 |
|---|---|---|---|
notes | InertiaNote[] | ||
height | number | ||
onMove | (index: number, x: number, y: number) => void | ||
dark | boolean | ||
autoplay | number | false | Showcase mode: the virtual hand tosses a note every N ms. |
readonly area: HTMLElementdestroy(): voidimport InertiaGrab from './InertiaGrab';
<InertiaGrab />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Custom cursors.