Sharpen in
The content resolves from an 8px blur as it mounts.
Installation
npx logic2b@latest add motion-blurUsage
import { MotionBlur } from "@/components/ui/motion-blur"
<MotionBlur duration={700}>
<h2>Sharpen in</h2>
</MotionBlur>
MotionBlur is <Motion preset="blur"> — see
Motion for the shared duration, delay, hover
and asChild props, exit recipes and reduced-motion behavior. It pairs well
with a longer duration on headings and hero copy.
API
| Prop | Type | Default |
|---|---|---|
duration |
number (ms) |
500 |
delay |
number (ms) |
0 |
hover |
lift | sink | scale | glow |
— |
asChild |
boolean |
false |
| …props | React.ComponentProps<"div"> |
— |