Measured entry
ruixen-scroll-text-rise
badgeunclassifiedmotion on file
A client-side React text treatment that gives each word its own scroll-linked fade and upward motion inside a sticky, internally scrolling container. It ships as a shadcn registry TypeScript component styled with Tailwind utilities and depends on Motion plus a cn helper backed by clsx and tailwind-merge.



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 | 72.9 KB (138.4 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 927ms error during build: [vite:load-fallback] Could not load <sandbox>re-4df6d3907e54/src/lib/utils (imported by src/cut/components/ruixen/scroll-text-rise.tsx): ENOENT: no such file or directory, open '<sandbox>re-4df6d3907e54/src/lib/utils'
Verdict
A focused editorial effect with clean responsive wrapping, but the nearly invisible starting state and hidden nested scrollbar need design and accessibility work. It also needs a shadcn-style setup before it will build and mount, so it is best for teams already using that stack.
Use it if
- You need a short headline or statement to reveal word by word as the visitor scrolls within a dedicated story panel.
- Your React interface already uses Tailwind, Motion, and a shadcn-compatible cn utility.
- You can tune the muted text colors and provide a clear cue that the panel itself scrolls.
Skip it if
- You need the animation to follow normal page scrolling rather than consume wheel or touch input inside a nested scroll area.
- You require acceptable default contrast without revising the component's very faint unrevealed text styling.
- You want a lightweight static label or badge, since this is a large animated text section rather than a badge.
- Your project cannot take on Motion or Tailwind-specific styling.
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, add Motion, Tailwind, clsx, and tailwind-merge. Create a cn utility at the expected lib alias or replace that import with your own helper, configure the alias, and ensure your Tailwind scanner includes the component file. Review the muted text colors and add an obvious scroll affordance.
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 badge pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-badgeneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- clay-badgeclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- ruixen-load-rippleunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- kibo-listminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 42.4KB
- Bare
- pass
- Prov
- NO
- ruixen-blurred-stagger-textunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO
- tripled-auto-revealing-heading-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.3KB
- Bare
- pass
- Prov
- NO