Measured entry
animata-glitch-text
text-effectdark-futuristicmotion on file
A client-side React text effect that stacks two color-shifted, aria-hidden copies behind a readable base label and animates them with CSS transforms. It ships as a shadcn registry component with a TSX file and companion stylesheet, has no package dependencies, and relies on the project cn helper, path alias, CSS variables, and a Tailwind utility class.



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 | 26.6 KB (92.0 KB build, 65.4 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 32.77s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/animata/text/glitch-text.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused, configurable effect with a readable top layer and sensible reduced-motion behavior. It builds and mounts in the prepared harness, but it needs a shadcn-style setup because the bare project cannot resolve its shared utility import.
Use it if
- You need a short glitch treatment for a hero word, campaign label, or status callout.
- Your React project already follows shadcn conventions and can absorb the component stylesheet.
- You want colors, intensity, timing, and blend behavior exposed as component props.
Skip it if
- You need the effect for paragraphs or frequently changing copy, where stacked duplicate layers become visually noisy.
- Your design system avoids looping motion or RGB split effects even when reduced-motion preferences are respected.
- You want a drop-in component for a plain React setup without adding aliases, utilities, or theme variables.
Install
| Declared dependencies | none declared |
|---|---|
| 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, copy both source files, replace the cn helper with your own class-name joiner or add that utility, change the alias import to a resolvable path, define the foreground theme variable, and provide a CSS equivalent for the select-none utility if Tailwind is absent.
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/codse/animataAlternatives
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