Component packs › Plunger › Drop-target Checklist

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.

Drop-target Checklist props

PropTypeDefaultDescription
itemsstring[]
checkednumber[]
labelstringAccessible name of the list, shown above the bank.
widthnumber340Width in px. Default 340.
darkboolean
onChange(checked: number[]) => void
autoplaynumber | falseShowcase mode: ticks the next task every N ms while visible.

Methods on the ref

Use it in React

import DropTargets from './DropTargets';

<DropTargets />

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

More in Plunger

Good for: Skeuomorphic UI.