Shimmer Text
Installation
Props
The ShimmerText
component supports the following props:
Prop | Type | Default | Description |
---|---|---|---|
text | string | "" | The text to animate. |
className | string? | undefined | Additional classes for the container. |
gradient | string? | "from-gray-100 via-white to-gray-100" | The gradient used for the shimmer animation. |
duration | number? | 2 | Duration of the shimmer animation in seconds. |
width | "fit" | "full"? | "fit" | Determines the width of the container. |