Text Reveal

Motion

A paragraph that lights up word by word as it scrolls through the viewport, from muted to full ink, using Motion scroll progress. Still text for reduced motion.

src/registry/premium/text-reveal.tsx/r/text-reveal.json

Installation#

bash
npx shadcn@latest add https://ui.minidev.pro/r/text-reveal.json

Usage#

tsx
import { TextReveal } from "@/components/ui/text-reveal"

export function Example() {
  return <TextReveal />
}

API reference#

TextReveal props
PropTypeDefault
textstring"Most interfaces are assembled. The g...
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files
All Animated React components