Component packs › Plunger › Drop-target Checklist
Every ticked task fires a ball into its drop target and knocks it down into the slot; unticking pops it back up.
Drop-target Checklist is a checklist from Plunger, a component pack with 6 pinball components: Controls built from pinball parts: a plunger, a flipper, pop bumpers, drop targets, a ramp and score reels. Price: $2 for the whole pack.
Built with: ball fired at the target, reset coil, bank cleared state.
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 | string[] | ||
checked | number[] | ||
label | string | Accessible name of the list, shown above the bank. | |
width | number | 340 | Width in px. Default 340. |
dark | boolean | ||
onChange | (checked: number[]) => void | ||
autoplay | number | false | Showcase mode: ticks the next task every N ms while visible. |
readonly checked: number[]setChecked(index: number, on: boolean): voiddestroy(): voidimport DropTargets from './DropTargets';
<DropTargets />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.