Canvas-based glitch text effect with configurable speed, colors, and smooth transitions.
npx bouncekit@latest add letterglitchUsage
import { LetterGlitch } from "@/components/ui/letter-glitch"Props
| Prop | Type | Required | Description |
|---|---|---|---|
glitchColors | string[] | — | Hex colors for glitch characters. |
glitchSpeed | number | — | Interval (ms) between glitch cycles. Default: 50. |
characters | string | — | Character set to sample from. |
smooth | boolean | — | Smooth color transitions. Default: true. |