Component packs › Coil › Jack Popover

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.

Jack Popover props

PropTypeDefaultDescription
labelstring"More"Text on the box. Default "More".
itemsstring[]Menu items.
onSelect(index: number, item: string) => void

Methods on the ref

Use it in React

import JackPopover from './JackPopover';

<JackPopover />

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

More in Coil

Good for: Buttons.