Skip to content

DropDrawer

A responsive menu that is a dropdown on desktop and a drawer on phones, for shadcn/ui.

dropdrawer.jiaweing.com

DropDrawer website screenshot
Added
GitHub stars
207
License
MIT
Price
Free

About

About DropDrawer

DropDrawer is a drop-in replacement for the shadcn/ui DropdownMenu. On wide screens it renders a dropdown, and below a 768px breakpoint, configurable through its hook, it becomes a drawer with a native feel. It supports nested submenus through DropDrawerSub, DropDrawerSubTrigger and DropDrawerSubContent.

It builds on the shadcn/ui dropdown-menu and drawer components, which use vaul for the drawer. Install it with the shadcn CLI straight from the GitHub repository, from a hosted registry URL, or copy the pieces manually. The project is MIT licensed and suits apps whose menus feel awkward to tap on small screens.

DropDrawer features

6 features

  • Dropdown on desktop, drawer on mobile
  • Nested submenus
  • 768px breakpoint, configurable
  • Install from the GitHub repository
  • Hosted registry JSON
  • Drop-in for DropdownMenu

Install DropDrawer

1 command

Terminal

$ pnpm dlx shadcn@latest add jiaweing/DropDrawer/dropdrawer

What you can build with DropDrawer

3 use cases

  • Making an account menu comfortable to use on a phone
  • Building a nested actions menu for table rows
  • Replacing separate mobile and desktop menu implementations

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What DropDrawer is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro