Shiny Text
Server ComponentA metallic sheen that sweeps across live text.
Import
tsx
import { ShinyText } from "@cronus-ui/ui";
bash
npx cronus-ui add shiny-text
Examples
API Reference
Generated from the component's exported types.
ShinyTextProps
Extends HTMLAttributes<HTMLSpanElement>
| Prop | Type | Default | Description |
|---|---|---|---|
ref | Ref<HTMLSpanElement> | — | — |
asChild | boolean | false | — |
duration | number | 3 | Seconds for one sheen sweep. |