Shimmering Text
Smooth, light-sweeping shimmer animation for text.
Installation
Add the registry
Skip if already installed
$ pnpm dlx shadcn@latest registry add @carlos-dubon=https://carlosdubon.dev/r/{name}.json
Add the component
$ pnpm dlx shadcn@latest add @carlos-dubon/shimmering-text
Usage
import { ShimmeringText } from "@/components/shimmering-text"<ShimmeringText text="slide to unlock" />API Reference
ShimmeringText
Prop
Type
Examples
Custom Color
Loading…
CSS Variables explanation:
--color: Base text color (the default/resting state of characters)--shimmering-color: Peak highlight color (the bright color characters transition to during the shimmer effect)