Carregando…
Carregando…
Carregando…Per-character opacity wave shimmer, staggered via motion — accessible full text in aria-label.
Text Wave — per-character opacity shimmer, staggered
$ npx kikitocn add text-wave@/lib/utils@/lib/motionmotionimport { TextWave } from "@/components/ui/cn/text-wave/TextWave";
export function TextWaveExample() {
return (
<TextWave>
Text Wave
</TextWave>
);
}| Prop | Tipo | Padrão | Descrição |
|---|---|---|---|
children* | string | — | Texto (string pura, dividido em caracteres) |
duration | number | 1.2 | Segundos por ciclo de pulso de cada caractere |
staggerDelay | number | 0.05 | Atraso entre o pulso de um caractere e o do próximo |
className | string | — | Classes CSS extras |