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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-breadcrumb-dropdown at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-breadcrumb-dropdown at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-breadcrumb-dropdown at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

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.

Harness measurements recorded for ruixen-breadcrumb-dropdown
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate1
Axe minor0
Gzip marginal30.3 KB (95.8 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for ruixen-breadcrumb-dropdown
Declared dependenciesclsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

Alternatives

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.