Skip to content

Soft Bento

Dropdown Menu

A menu button built from items: actions, links, separators, headings (which start a labelled group) and shortcuts.

Live, interactive React component · light themeResponsive

About the Soft Bento Dropdown Menu

A menu button built from items: actions, links, separators, headings (which start a labelled group) and shortcuts. 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 Soft Bento. The style’s 92 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 the file and its styles by hand. The documentation walks through both.

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

Neo-Brutal Dropdown Menu

A menu button built from items: actions, links, separators, headings (which start a labelled group) and shortcuts.

Noir Aurora Dropdown Menu

A menu button built from items: actions, links, separators, headings (which start a labelled group) and shortcuts, in a lit overlay tile; the highlighted item's icon turns aurora.

Swiss Tech Mono Dropdown Menu

A menu button built from items: actions, links, separators, headings (which start a labelled group) and shortcuts.