Measured entry
ruixen-animated-highlight-text
chartunclassifiedmotion on file
A client-side React typography component for mixing prose with focusable inline highlights, animated SVG icons, and optional image tooltips. It ships as shadcn registry source and uses Motion plus a shared cn helper, Tailwind utility classes, and shadcn-style color tokens.



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 | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 74.0 KB (139.5 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 36.86s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/animated-highlight-text.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A polished, narrowly useful treatment for promotional or editorial copy, with responsive behavior and thoughtful focus and reduced-motion support. It is relatively costly for decorative text, and the demonstrated contrast needs correction. It needs a shadcn-style setup and does not work in a bare React project as supplied.
Use it if
- You want a small number of interactive words to carry extra emphasis in a hero, introduction, or editorial callout.
- Your interface already uses Tailwind and shadcn-style theme tokens.
- You need hover and keyboard-focus behavior with reduced-motion handling built in.
- You can supply meaningful tooltip images and alt text for each highlighted phrase.
Skip it if
- You need an actual chart or data visualization; the queue pattern does not match what this component renders.
- Your design system avoids attention-grabbing motion or image previews inside body copy.
- Bundle restraint matters more than the decorative interaction.
- You cannot review and correct the demonstrated text color contrast before shipping.
Install
| Declared dependencies | motion, 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, install Motion, clsx, and tailwind-merge; add the aliased lib/utils cn helper or replace that import; configure Tailwind; and define the foreground, muted-foreground, border, popover, and popover-foreground theme tokens. Otherwise, rewrite the utility classes and dynamic class merging for your styling system.
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 chart pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- tripled-holographic-wall-shadcnuiholographic
- Renders
- YES
- A11y
- 0
- Gzip
- 58.6KB
- Bare
- pass
- Prov
- NO
- hextaui-emptyminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 30.4KB
- Bare
- fail
- Prov
- NO
- ruixen-variable-textunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 70.6KB
- Bare
- fail
- Prov
- NO
- neobrutalism-chartbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 99.9KB
- Bare
- fail
- Prov
- NO
- shadcn-chartunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 99.9KB
- Bare
- fail
- Prov
- NO
- 8bitcn-chartskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 127.7KB
- Bare
- fail
- Prov
- NO