Text Shimmer
Shimmering placeholder text while a token stream starts.
Import
tsx
import { TextShimmer } from "@cronus-ui/ui";
bash
npx cronus-ui add text-shimmer
Examples
API Reference
Generated from the component's exported types.
TextShimmerProps
| Prop | Type | Default | Description |
|---|---|---|---|
children* | string | — | Contents of the component. |
as | ElementType | — | — |
className | string | — | Additional class names merged onto the root. |
duration | number | 2 | — |
spread | number | 2 | — |