Skip to content
Premium & Brand

Shiny Text

Server Component

A 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>

Skip ShinyTextProps props table
PropTypeDefaultDescription
ref
Ref<HTMLSpanElement>
asChild
booleanfalse
duration
number3Seconds for one sheen sweep.