GitHub Stars
Docs
Stagger Blur Effect

Stagger Blur Effect

Inspired by Vercel's homepage, this text component creates a 3D rotation effect with blur on hover, revealing text with a staggered animation.

I <3 Vercel

Installation

pnpm dlx shadcn@latest add https://badtz-ui.com/r/stagger-blur-effect.json

Usage

import { StaggerBlurEffect } from "@/components/ui/stagger-blur-effect";
<StaggerBlurEffect>Lorem ipsum dolor sit amet</StaggerBlurEffect>

Props

StaggerBlurEffect props.

PropTypeDescriptionDefault
classNamestringAdditional CSS classes for custom styling-
childrenReactNodeText content to animate-
durationnumberDuration of the animation in seconds0.3
staggerDelaynumberDelay between each letter animation in seconds0.05
heightnumberHeight of the text container in pixels56
Previous
Next