Components
Loading preview...
Beautiful Text Scramble effect
@rahil1202
npx shadcn@latest add https://21st.dev/r/rahil1202/text-scrammbleimport { TextScramble } from "@/components/ui/text-scrammble";
export default function DemoOne() {
return(
<TextScramble
phrases={[
'Hello,',
'sooner or later',
"you're going to realize",
'just as I did',
"that there's a difference",
'between knowing the path',
'and walking the path',
]}
pauseMs={800}
// dudClass="text-neutral-500/60"
// textClass="text-4xl sm:text-5xl md:text-6xl font-semibold tracking-tight text-white"
autoStart
loop
/>
)
}