1rem
3.5rem

Text Ripple

Mouse-tracked ripple effect applied to headline text.

0px
Live Playground · Edit and see changes instantly
Or edit with AI support by
import {TextRipple} from "@/components/phucbm/text-ripple";

export default function Example() {
    return (
        <TextRipple className="h-screen"/>
    );
}

Installation

pnpm dlx shadcn@latest add @phucbm/text-ripple

Props

NameTypeDefault
line1string

Top line text (split into characters).

"technical.architect"
line2string

Bottom line text (split into characters).

"creative.developer"
classNamestring

Optional extra classes applied to the wrapper

3.5rem
1rem