Measured entry
ruixen-breadcrumb-dropdown
accordionunclassifiedmotion on file
A client-side React breadcrumb that collapses middle path segments behind an inline toggle, then reveals them with staggered transitions. It ships as a shadcn registry TSX file and relies on Tailwind utility and theme classes plus the aliased cn helper backed by clsx and tailwind-merge.



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 | 1 |
| Axe minor | 0 |
| Gzip marginal | 30.3 KB (95.8 KB build, 65.5 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 1m 3s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/breadcrumb-dropdown.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused choice for long breadcrumb trails: it builds, mounts, and stays contained across the tested layouts. It needs a shadcn-style setup because the bare project cannot resolve its aliased cn utility. Give repeated breadcrumb landmarks distinct accessible names before using several together.
Use it if
- You need to keep deep navigation paths compact while preserving access to every intermediate level.
- You want hidden breadcrumb segments to expand inline instead of opening a floating menu.
- Your React app already uses Tailwind theme tokens and a shadcn-compatible cn helper.
Skip it if
- You render several breadcrumb landmarks on one page and cannot give each nav a distinct accessible name.
- Your routing layer requires a framework link component and you do not want to adapt the built-in anchors.
- Your motion policy requires reduced-motion handling without modifying the component's inline transitions and timers.
Install
| Declared dependencies | clsx, tailwind-merge |
|---|---|
| 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 and Tailwind, define the foreground and muted foreground theme tokens, install clsx and tailwind-merge, create a cn helper, and either configure the at-sign source alias for the utility import or replace it with a local relative path.
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 accordion pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neobrutalism-collapsiblebrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 22.1KB
- Bare
- pass
- Prov
- NO
- shadcn-collapsibleunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 22.1KB
- Bare
- pass
- Prov
- NO
- 8bitcn-collapsibleskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 34.3KB
- Bare
- pass
- Prov
- NO
- hextaui-collapsibleminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 34.3KB
- Bare
- pass
- Prov
- NO
- hextaui-ai-citationsminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 35.6KB
- Bare
- fail
- Prov
- NO
- neobrutalism-accordionbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 35.7KB
- Bare
- fail
- Prov
- NO