Measured entry
ruixen-tree-node-tooltip
tooltipunclassifiedmotion on file
A recursive client-side file tree whose folder rows expand with Motion and whose labels open Radix-based tooltips. It ships as shadcn registry source, not a standalone package, and depends on React, Motion, Lucide icons, Tailwind theme classes, the cn utility, and the registry tooltip component.



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 | 91.2 KB (156.7 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 2.93s error during build: [vite:load-fallback] Could not load <sandbox>re-b730a742af08/src/lib/utils (imported by src/cut/components/ruixen/tree-node-tooltip.tsx): ENOENT: no such file or directory, open '<sandbox>re-b730a742af08/src/lib/utils'
Verdict
A reasonable starting point for small, decorative file trees, with clean recursive data handling and working animation. It needs a shadcn-style setup, lacks full accessible tree behavior, and the blank wide-view capture deserves investigation before production use.
Use it if
- You need a compact file or category tree with per-node explanatory tooltips.
- Your app already uses shadcn conventions, Tailwind theme tokens, and the cn helper.
- Animated expansion and simple click-to-toggle folders match your interaction model.
Skip it if
- You need full tree semantics, arrow-key navigation, selection state, or focus management.
- You are rendering a large or deeply nested dataset that needs virtualization or centralized expansion state.
- You want to avoid Motion, Lucide, and Radix tooltip dependencies for a small navigation widget.
- You need a component that drops into a plain React project without project aliases or design-system utilities.
Install
| Declared dependencies | motion, lucide-react, radix-ui, 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 Tailwind with the expected theme tokens, configure the at-sign source alias, provide a cn helper using clsx and tailwind-merge, install Motion and Lucide, and add compatible Radix tooltip primitives. The file must run as a client component.
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 tooltip pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- hextaui-tooltipminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 48.6KB
- Bare
- pass
- Prov
- NO
- shadcn-tooltipunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 31.1KB
- Bare
- fail
- Prov
- NO
- shadcn-hover-cardunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 43.4KB
- Bare
- fail
- Prov
- NO
- neobrutalism-hover-cardbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 43.6KB
- Bare
- fail
- Prov
- NO
- neobrutalism-ntooltipbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 44.6KB
- Bare
- fail
- Prov
- NO
- neobrutalism-tooltipbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 44.6KB
- Bare
- fail
- Prov
- NO