Motion Effect
Motion effect component that displays the motion effect (fade in, slide in, etc.).
Made by imskyleenInstallation
Usage
Examples
Slide
Motion Effect Slide
Fade Blur
Motion Effect Fade Blur
Props
Prop | Type | Default |
---|---|---|
zoom? | boolean | { initialScale?: number; scale?: number } | false |
fade? | boolean | { initialOpacity?: number; opacity?: number } | false |
slide? | boolean | { direction?: 'up' | 'down' | 'left' | 'right'; offset?: number } | false |
blur? | boolean | string | false |
delay? | number | 0 |
inViewOnce? | boolean | true |
inViewMargin? | string | 0px |
inView? | boolean | false |
transition? | Transition | { type: 'spring', stiffness: 200, damping: 20 } |
className? | string | - |
children | React.ReactNode | - |
Credits
- Credits to Magic UI for the inspiration