Component packs › Plunger › Bumper Buttons
Pop bumpers as action buttons: each press kicks, and a loose steel ball is fired away whenever it touches one.
Bumper Buttons is a buttons 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: contact kicks, counts and toggles, top-view chrome and plastic.
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 | BumperButtonsItem[] | ||
width | number | 360 | Width in px. Default 360. |
dark | boolean | ||
onPress | (index: number, state: { pressed: boolean; count?: number }) => void | ||
autoplay | number | false | Showcase mode: presses a bumper every N ms while visible. |
press(index: number): voiddestroy(): voidimport BumperButtons from './BumperButtons';
<BumperButtons />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Skeuomorphic UI.