Skip to Content

Account Menu

App header with a user menu: a left-swiping navigation drawer of grouped links and an avatar account dropdown showing the signed-in user, plan and grouped settings. Suited to SaaS dashboards and app shells.

Installation

pnpm dlx shadcn@latest add @01orbital/account-menu

API reference

An app header bar with a menu button on the left and an account button on the right. The menu button opens a drawer from the left with two labeled groups of links. The account button opens a menu with the signed-in name and plan, two labeled groups of items and a sign-out item.

The words live in COPY, NAV and MENU at the top of the file. The drawer links point to #, and the menu items have no actions yet.

Prop

Type

Make it yours

  • Its words are in COPY at the top of components/blocks/account/account-menu/index.tsx: change them there, not in the markup.
  • NAV and MENU, also at the top of the file, hold its lists and settings.

Built from

npm: @phosphor-icons/react. The CLI installs it for you.

Built from these parts. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Last updated on