✨ 隆重推出 Magic UI
安装
用法
import { AnimatedShinyText } from "@/components/magicui/animated-shiny-text";
<AnimatedShinyText>Animated Shiny Text</AnimatedShinyText>
属性
属性 | 类型 | 默认值 | 描述 |
---|---|---|---|
children | 节点 | - | 要显示闪光效果的文本。 |
className | string | - | 应用于闪光效果的类名。 |
shimmerWidth | number | 100 | 闪光效果的宽度(像素)。 |