Measured entry
magicui-number-ticker
text-effectunclassifiedmotion on file
A client-side React span that spring-animates from a starting value to a target when it enters the viewport. It ships as a shadcn registry component, uses Motion for animation, formats output with Intl.NumberFormat, and relies on a cn utility backed by clsx and tailwind-merge plus Tailwind classes.



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 | 39.1 KB (104.6 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
spawnSync npx ETIMEDOUT
Verdict
A focused, working ticker with clean viewport-triggered behavior and no provider requirement. The configured harness passed, but the bare check timed out and did not mount, so it needs a shadcn-style setup or equivalent project wiring before adoption.
Use it if
- You need a one-time count-up or count-down effect for a dashboard metric, price, or milestone.
- Your React app already uses Tailwind and a shadcn-style cn helper.
- US-style number formatting and fixed decimal-place control fit the display requirement.
Skip it if
- You need locale-aware formatting chosen from the viewer or application settings.
- The value must update continuously after the first in-view animation.
- You want a dependency-free text effect or cannot justify adding Motion for one counter.
- Your project does not support client components or browser viewport observation.
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, clsx, and tailwind-merge; provide a compatible cn helper and configure the source alias it imports. Ensure Tailwind processes the component classes, and place it in a React environment that supports client components.
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/magicuidesign/magicuiAlternatives
Other published entries for the text-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- uilayouts-randomized-text-effectdark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-randomized-text-unveildark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- fancy-scramble-indark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- magicui-aurora-textaurora-mesh
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- magicui-highlighterskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 24.8KB
- Bare
- pass
- Prov
- NO
- fancy-text-along-pathspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 25.7KB
- Bare
- pass
- Prov
- NO