Skip to content

Form & Field

Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Live, interactive React component · light themeResponsive

About the Form & Field Dropdown Menu

A menu button built from items: actions, links, separators, headings (which start a labelled group) and shortcuts. The menu is a paper panel with a hairline, 12 px corners and a soft shadow; items are 44 px rows at 15 px that take the pale lime wash under the pointer and the keyboard, a danger item a pale red one. It fades in with 8 px of travel. The trigger is a Button (the white pill with a hairline by default) with a caret that turns over while the menu is open; with triggerLabel it is a round icon button. Opens with click, Enter, Space or the arrow keys; arrows, Home, End and typeahead move; Esc, Tab and outside clicks close; it stays inside the viewport. Links render as <a role="menuitem">. Client component.

It is part of Form & Field: warm paper, ink pills, one lime. The style’s 91 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.

To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.

The same piece, drawn for a different look. Open one to compare it live.

Aeris Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Bavaria Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Glass Meridian Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Grove Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Neo-Brutal Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Noir Aurora Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Soft Bento Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.

Swiss Tech Mono Dropdown Menu

Menu button with actions, links, groups and shortcut hints, navigated by arrow keys and typeahead.