Measured entry
ruixen-toolbar-dock
buttonunclassifiedmotion on file
A client-side React icon dock with animated collapse, a shared hover and focus tooltip rail, shortcut hints, badges, and configurable actions. It ships as shadcn registry source styled with Tailwind classes and theme tokens, and depends on Motion, Hugeicons, and a local cn utility.



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 | flagged at 375, 768 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 70.1 KB (135.5 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 35.28s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/toolbar-dock.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A polished desktop-oriented dock with sound focus behavior and a useful configurable API, but its responsive fit needs work and its dependency cost is substantial for one control. It needs a shadcn-style setup and does not mount as a bare drop-in.
Use it if
- You need a compact desktop action dock with labels revealed on hover or keyboard focus.
- Your product already uses shadcn conventions, Tailwind theme tokens, Motion, and Hugeicons.
- You want configurable actions, notification dots, shortcut hints, and a pinned collapse control in one component.
Skip it if
- The dock must fit narrow or medium layouts without responsive redesign, since the verified rendering overflows there.
- You want a lightweight button group without animation and icon-library dependencies.
- Your interface needs actual keyboard shortcut handling, since the chips are only visual hints.
- You cannot accommodate a persistent horizontal footprint even while the action strip is collapsed.
Install
| Declared dependencies | @hugeicons/react, @hugeicons/core-free-icons, motion |
|---|---|
| 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 Tailwind and map the component's background, foreground, border, accent, and primary theme tokens. Provide the local cn class-merging utility or replace that call, configure the source alias, enable client-side React rendering, and install Motion plus the Hugeicons React and icon packages.
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 button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-buttonneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-buttonclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- tripled-animated-radio-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glow-link-buttonliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 58.9KB
- Bare
- pass
- Prov
- NO
- tripled-mood-gradient-button-shadcnuigradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 59.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glass-ai-cardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 59.5KB
- Bare
- pass
- Prov
- NO