Text Shimmer
Markup where the component goes, CSS in your stylesheet. No JavaScript.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/loader-text-shimmerAbout this component
The word "Loading" rendered in uppercase with a bright spotlight sweeping across it via background-clip:text, a text-as-canvas shimmer effect. Pure CSS, no dependencies.
Triggers
- Continuous
- Ambient
Techniques
- Keyframes
- Gradient
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
The aria-label on the wrapper provides the accessible name; the visible text span is aria-hidden.
Reduced motion
Animation disabled under prefers-reduced-motion.
Use it in anything you build, commercial and client work included. Licence