Masked Gradient Headline

Motion

A gradient text headline that wipes in from left to right with a clip path reveal when it scrolls into view. Accepts any children as the heading text.

src/registry/premium/masked-gradient-headline.tsx/r/masked-gradient-headline.json

Installation#

bash
npx shadcn@latest add @minidev/masked-gradient-headline

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/masked-gradient-headline.json

Usage#

tsx
import { MaskedGradientHeadline } from "@/components/ui/masked-gradient-headline"

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

API reference#

MaskedGradientHeadline props
PropTypeDefault
childrenReact.ReactNode"Details that make it feel inevitable."
classNamestring-

Dependencies#

npm

motion

Built from

No other MiniDev files

Examples#

All Animated React components