Skip to content

shadcn Dropdown Menu examples

A menu that opens from a button, with items, groups, checkboxes and keyboard navigation. In our blocks it holds row actions, account menus and “more” menus in app screens: 55 app screens use it. Every example below is a finished section with real copy, light and dark, that installs with the shadcn CLI.

Blocks built with shadcn Dropdown Menu

Showing 48 of 55. The rest are in their categories: commerce (9), developer (8), finance and billing (7), projects and calendar (7), people and HR (5), CRM and sales (5) and more.

Questions about shadcn Dropdown Menu

How many blocks use shadcn Dropdown Menu?

55 of ours: 55 app screens, in eleven categories, most of all commerce (9), developer (8), finance and billing (7). Each one imports the Dropdown Menu from your own components/ui folder, so it follows your theme.

How do I install shadcn Dropdown Menu?

shadcn/ui’s own component: npx shadcn@latest add dropdown-menu. Our free example: npx shadcn@latest add @themesdev/dropdown-menu, no account needed. A block from this page brings the Dropdown Menu along as a dependency, so you never install it by hand.

Are these examples free?

These come with UI Pro, €199 once for one person (excl. tax). The base dropdown menu example is free.

Do they work with Next.js and Astro?

Yes. They are React components on shadcn/ui and Tailwind CSS v4, so they run in Next.js, Vite and Astro with React. In Astro they render on the server, and only the parts that need interaction ship JavaScript.

Other shadcn/ui components in our blocks

All shadcn/ui pages

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans