Calm motion: animations on this site only fade, with no movement
Parallax
Background that scrolls slower
A background image that moves slower than the page as you scroll, behind a heading or a quote. It is decoration. Nothing can depend on it, and it holds still under reduced motion.
Basic
scroll
speed(0 fixed to 1 with the page).heightof the band.altstays empty unless the image says something that the text does not.
Usage
ts
import { BlessParallax } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
src | string | — | |
height | string | "320px" | |
speed | number | 0.5 | 0 = fixed, 1 = scrolls with page |
alt | string | "" |
Slots
| Name | Scope | Description |
|---|---|---|
media | — | |
default | — |