Component packs › Unfurl › Spring Select
The list unrolls up and down at once from the option you have, which stays right over the button; options arrive by distance.
Spring Select is a select from Unfurl, a component pack with 7 menus and popovers: Menus and popovers that grow from the exact point they came from and unroll like paper. Price: $2 for the whole pack.
Built with: two-way unroll, anchored selection, listbox keys.
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 |
|---|---|---|---|
options | string[] | ||
value | number | ||
label | string | "Time zone" | Accessible name. Default "Time zone". |
onChange | (index: number, option: string) => void |
readonly value: numberreadonly open: booleansetOpen(open: boolean): voidselect(index: number, silent?: boolean): voiddestroy(): voidimport SpringSelect from './SpringSelect';
<SpringSelect />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Menus and popovers.