Component packs › Unfurl › Spring Select

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.

Spring Select props

PropTypeDefaultDescription
optionsstring[]
valuenumber
labelstring"Time zone"Accessible name. Default "Time zone".
onChange(index: number, option: string) => void

Methods on the ref

Use it in React

import SpringSelect from './SpringSelect';

<SpringSelect />

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

More in Unfurl

Good for: Menus and popovers.