Measured entry
tripled-multiple-accounts-shadcnui
switchglassmorphismmotion on file
A client-side React account switcher shipped as a shadcn registry component. It keeps selection in local state, uses Framer Motion for the opening and selection transitions, Lucide for icons, Tailwind utility classes and theme tokens for its glass treatment, and remote images for the sample avatars.



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 | 62.0 KB (127.4 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 937ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-527b4ecdd72f/src/cut/components/uitripled/multiple-accounts-shadcnui.tsx".
Verdict
A polished visual starting point that builds and mounts cleanly, including outside the shadcn scaffold. The responsive and automated accessibility checks are reassuring, but real adoption still requires replacing demo data, wiring every action, and improving keyboard behavior.
Use it if
- You want an animated account or workspace picker that can be connected to your own identity data.
- Your interface already uses Tailwind theme tokens and can absorb the component's glass-styled surface.
- Framer Motion is already present or its added client payload is acceptable.
Skip it if
- You need account changes, settings, or sign-out behavior to work without adding application logic.
- You require full keyboard listbox navigation, since the source does not implement arrow-key movement or focus management.
- You want a lightweight menu and do not otherwise depend on Framer Motion.
- Your product cannot load sample avatars from an external host.
Install
| Declared dependencies | framer-motion, 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 React, Framer Motion, and Lucide React, configure Tailwind utilities, and define the color, border, surface, background, and focus-ring theme tokens used by the classes. Replace the remote avatars and hard-coded account list, then connect selection, account management, and settings to your application.
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/moumen-soliman/uitripledAlternatives
Other published entries for the switch pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-toggleneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-toggleclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- ruixen-scrub-datetimeunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 22.2KB
- Bare
- pass
- Prov
- NO
- shadcn-switchunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 34.4KB
- Bare
- pass
- Prov
- NO
- hextaui-switchminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 34.5KB
- Bare
- pass
- Prov
- NO
- hextaui-tabsminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 39.0KB
- Bare
- pass
- Prov
- NO