Compositions
Core Primitives
Transitions
Typography
Customize
24
1
30
Installation
$ pnpm dlx shadcn@latest add @framecn/frosted-glass-wipe
Usage
import { FrostedGlassWipe } from "@/components/framecn/frosted-glass-wipe";<FrostedGlassWipe />API Reference
FrostedGlassWipe
| Prop | Type | Default |
|---|---|---|
from | ReactNode | - |
to | ReactNode | - |
transitionStart | number | 36 |
transitionDuration | number | 30 |
glassBlur | number | 24 |
speed | number | 1 |
fps | number | 30 |
durationInFrames | number | 90 |
width | number | 1280 |
height | number | 720 |
background | string | "black" |
className | string | - |
Notes
Uses backdrop-filter
The frosted glass effect uses CSS backdrop-filter for the blur. Browser support is good but not universal.