More components in Pro
Galleries, cards and interactive pieces for pages that need more than the basics.
items | (string | SpiralItem)[] | [] | Images shown in the spiral. Objects may also include alt, href, target, label and id. |
speed | 0.55 | Automatic travel speed in cards per second and the sensitivity of scroll-controlled motion. | |
direction | "up" | "down" | "up" | Vertical travel direction. |
animationMode | "auto" | "drag" | "scroll" | "all" | "auto" | Selects automatic motion, pointer dragging, page-scroll control or all interactions. |
radius | 170 | Depth radius of the helix in pixels. | |
cardWidth | 100 | Card width in pixels. | |
cardHeight | 100 | Card height in pixels. | |
verticalSpacing | 60 | Vertical distance between neighboring cards. | |
perspective | 1000 | CSS perspective applied to the 3D stage. | |
cardsPerTurn | 7 | Number of cards used for one complete revolution. | |
rotation | Global angular offset in degrees. | ||
cardTilt | Additional clockwise card tilt in degrees. | ||
cardRadius | 10 | Card corner radius in pixels. | |
centerScale | 1.2 | Scale multiplier for cards nearest the center. | |
edgeFade | 0.3 | Fraction of the outer travel range used for fading. | |
edgeBlur | 6 | Maximum blur applied near the edges. | |
pauseOnHover | Smoothly eases automatic motion to a stop while the gallery is hovered. | ||
imageFit | "cover" | "contain" | "cover" | Object fit used by every image. |
grayscale | Grayscale amount applied to every image, from 0 to 1. | ||
"" | Additional class names for the root element. |
items(string | SpiralItem)[]Images shown in the spiral. Objects may also include alt, href, target, label and id.
[]speednumberAutomatic travel speed in cards per second and the sensitivity of scroll-controlled motion.
0.55direction"up" | "down"Vertical travel direction.
"up"animationMode"auto" | "drag" | "scroll" | "all"Selects automatic motion, pointer dragging, page-scroll control or all interactions.
"auto"radiusnumberDepth radius of the helix in pixels.
170cardWidthnumberCard width in pixels.
100cardHeightnumberCard height in pixels.
100verticalSpacingnumberVertical distance between neighboring cards.
60perspectivenumberCSS perspective applied to the 3D stage.
1000cardsPerTurnnumberNumber of cards used for one complete revolution.
7rotationnumberGlobal angular offset in degrees.
cardTiltnumberAdditional clockwise card tilt in degrees.
cardRadiusnumberCard corner radius in pixels.
10centerScalenumberScale multiplier for cards nearest the center.
1.2edgeFadenumberFraction of the outer travel range used for fading.
0.3edgeBlurnumberMaximum blur applied near the edges.
6pauseOnHoverbooleanSmoothly eases automatic motion to a stop while the gallery is hovered.
imageFit"cover" | "contain"Object fit used by every image.
"cover"grayscalenumberGrayscale amount applied to every image, from 0 to 1.
Additional class names for the root element.
""


