Skip to content
Design System
GitHub

Dropdown menu

v0.17.4

Actions on an item; destructive actions last.

Dropdown menu default

Install
npx shadcn add @syncrobotic/dropdown-menu

Also installs: radix-ui, lucide-react, @syncrobotic/cn

Overview

A menu of actions on an item, opened from a button. Destructive actions go last.

When to use

  • Row actions in a table, the user menu, overflow (⋯) buttons.

Use something else

More examples

States and real uses. Each example is also a Storybook story and a visual regression test.

Dropdown menu with checkboxes

Usage rules

  • Destructive items go last, after a separator.

Changelog

  • 0.17.42026-11-19Opens the way it was opened: no keyboard ring after a click until a key moves in it.
  • 0.17.22026-11-19With the keyboard, the highlighted item shows a 2 px inset ring as well as the fill (the fill alone was 1.24:1); with a mouse it stays a plain fill.
  • 0.15.02026-11-19The highlighted item changes colour instead of jumping.

How to upgrade