Component packs › Dovetail › Drawer Dropdown

Drawer Dropdown

An oak drawer pulls out on steel runners and the options lie on its maple floor; picking one pushes it shut with a bump.

Drawer Dropdown is a dropdown from Dovetail, a component pack with 6 woodwork controls: Dropdowns, toggles, tabs and dialogs made of real-looking oak, walnut and maple. Price: $2 for the whole pack.

Built with: generated wood grain, drawer on runners, listbox roles.

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.

Drawer Dropdown props

PropTypeDefaultDescription
optionsstring[]
valuenumber
labelstring
darkbooleanfollows the pageForce the dark (true) or light (false) look. Default: follows the page.
onChange(index: number, value: string) => void
autoplaynumber | falseShowcase mode: opens and picks every N ms while visible.

Methods on the ref

Use it in React

import DrawerDropdown from './DrawerDropdown';

<DrawerDropdown />

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

More in Dovetail

Good for: Menus and popovers, Skeuomorphic UI.