GitHub
Open Github

Randomized Text

Text component with randomized character reveal animation.

Installation

pnpm dlx shadcn@latest add @spell/randomized-text

Examples

Split By

Usage

import { RandomizedText } from "@/components/randomized-text";
<RandomizedText>You can just ship things.</RandomizedText>

Props

PropTypeDefault
children
string
-
className
string
-
split
'words' | 'chars'
'words'
delay
number
0.2
inView
boolean
false