Component packs › Coil › Jack Popover
Press the box: the lid flips back and the menu springs up on a coil, overshoots and bobs; close it and it is pushed back in.
Jack Popover is a popover from Coil, a component pack with 6 spring controls: Controls on real coil springs: they compress, stretch, overshoot and settle like wire does. Price: $2 for the whole pack.
Built with: menu on a spring, lid flip, keyboard menu.
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 |
|---|---|---|---|
label | string | "More" | Text on the box. Default "More". |
items | string[] | Menu items. | |
onSelect | (index: number, item: string) => void |
readonly open: booleansetOpen(open: boolean): voiddestroy(): voidimport JackPopover from './JackPopover';
<JackPopover />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Buttons.