Flex Carousel
An endless row of images that bends through liquid glass at its edges: swollen and rippled at the sides, clear in the middle.
import { FlexCarousel } from "pleate/effects/flex-carousel";Highlights
Props
- images
Pictures; alt is required.
{ src, alt }[]- itemWidth / itemHeight
Tile size in px.
numberdefault 220 / 280- duration
Seconds for one loop.
numberdefault 30- edge
Glass width as a share of the row.
numberdefault 0.22- distortion
Warp strength in px.
numberdefault 40- label
Accessible name.
stringdefault "Gallery"
Accessibility
- Only one copy of the images is read.
- Pauses on hover; reduced motion keeps it still.