About this set
An account menu for the top right corner of an app: a trigger button with initials in a gradient avatar, and a 240 pixel panel of links in three groups. The first group holds View profile, Settings and Switch team, with keyboard shortcut hints on the right. The second holds Documentation and Support. The last is a red Sign out link. Thin rules separate the groups and the current page is shaded. Use it wherever an app needs a place for the signed-in user’s pages without crowding the main navigation. Because every entry is a link to a page, the menu is built as site navigation rather than an application menu: a labelled nav holding a button with aria-expanded and plain lists of links. The button toggles aria-expanded and CSS shows the panel that follows it, with a short fade and lift. In the Bootstrap version the same markup runs on the stock .dropdown with the Dropdown plugin, restyled through –bs-dropdown-* variables. The Tailwind version drives the panel with peer-aria-expanded utilities. The shortcut hints are labels only, so bind the keys in your own app.
What’s included
- Avatar trigger with the account name and a caret
- Three link groups separated by rules, with a red Sign out
- Current page shaded and marked with aria-current
- Esc, a click outside or tabbing away closes the panel
- Panel narrows to fit the screen on phones
Accessibility
The panel sits in a nav labelled Account and opens from a button that reports its state with aria-expanded, so screen readers announce it as collapsed or expanded. Tab reaches the button and each link, Enter or Space toggles the panel, and Esc closes it and puts focus back on the button; the Bootstrap version also moves through the links with the arrow keys. Focus draws a 2px blue outline, and the fade is removed under prefers-reduced-motion.
Customise it
Change the colours in the .acm-trigger, .acm-drop and .acm-av rules (plain CSS) or the --bs-dropdown-* and --bs-btn-* variables on .acm (Bootstrap). In Tailwind edit the bg-, text- and border- colour utilities and the w-60 panel width.



















