Shelf is open source and in early preview
Shelf

For AI agents: the documentation index is at /llms.txt, and any docs page is available as Markdown by appending .md to its URL.

Dropdown Menu

A menu of actions opened from a button, with checkbox, radio, and submenu items.

When to use

Use when
A list of actions behind one trigger, such as an overflow menu.
Avoid when
People pick a value from options; use Select.

Installation

The source lands in src/components/ui/dropdown-menu.tsx, along with any Shelf items it builds on, and .shelf/lock.json records what was installed. It's yours to edit.

Usage

Built on

Packages
@base-ui/react, @stylexjs/stylex
Shelf items
foundations, Icons, utils
Accessibility
Focus, keyboard, and ARIA behavior come from Base UI.
Figma
Optional native Figma library. See Designers.

Verified

Size
2.7 kB gzipped on its own, 53 kB with the Shelf items and packages it builds on. JS and CSS in a production build, without React.
Accessibility
Axe passes on 5 stories
Behavior
4 interaction tests in Storybook
React Doctor
React Doctor finds nothing