Measured entry
ruixen-account-menu
A client-side account dropdown with profile navigation, theme choices, notification toggles, and logout. It ships as a shadcn registry component composed from the shared Button and Dropdown Menu primitives, with Lucide icons, Radix behavior, Tailwind classes, and theme tokens.



Measured
Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 60.6 KB (126.0 KB build, 65.4 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 33.06s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/button.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound starter for an existing shadcn-style app, with useful menu structure and clean harness behavior. It needs a shadcn-style setup to mount, and its account identity, selection state, and actions are placeholders that require product wiring.
Use it if
- You already use shadcn-style aliases, theme tokens, and shared UI primitives.
- You want a compact account menu with nested preference controls as a starting point.
- You are prepared to connect navigation, theme, notification, and logout behavior yourself.
Skip it if
- You need a self-contained dropdown that can be pasted into a plain React project.
- You need account actions that are already wired to routing, authentication, or saved preferences.
- You want controlled theme and notification state out of the box; the supplied values and labels are static.
Install
| Declared dependencies | lucide-react, radix-ui |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add the Button and Dropdown Menu primitives, the class-name utility and path alias they import, Lucide icons, Radix menu support, Tailwind styling, and the expected semantic color tokens. Then replace the sample identity and connect every action and preference to application state.
Source and credit
This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.
Author repository
github.com/ruixenui/ruixen.comAlternatives
Other published entries for the dropdown pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tripled-context-menu-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO
- shadcn-dropdown-menuunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 44.4KB
- Bare
- fail
- Prov
- NO
- originui-comp-131minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- fail
- Prov
- NO
- neobrutalism-dropdown-menubrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 58.5KB
- Bare
- fail
- Prov
- NO
- shadcn-context-menuunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.7KB
- Bare
- fail
- Prov
- NO
- neobrutalism-context-menubrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 58.8KB
- Bare
- fail
- Prov
- NO