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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-toolbar-dock at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of ruixen-toolbar-dock at 768 pixels wide
Harness screenshot at 768 pixels wide. This viewport scrolled sideways.
Harness screenshot of ruixen-toolbar-dock 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-toolbar-dock
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375, 768
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal70.1 KB (135.5 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for ruixen-toolbar-dock
Declared dependencies@hugeicons/react, @hugeicons/core-free-icons, motion
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 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.

Alternatives

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.