Card Width
300px
Card Height
380px
Corner Radius
18px
Depth
220px
Spread
90px
Tilt
22°
Perspective
1400px
Visible Cards
4
Falloff
0.2
Blur
6px
Duration
700ms
Autoplay Delay
3200ms

More components in Pro

Galleries, cards and interactive pieces for pages that need more than the basics.

View all 255
21 properties
itemsArray<string | { image: string; alt?: string }>6 sample imagesSlides to display. Pass image URLs or objects with an image URL and alt text.
cardWidth300Width of each card in pixels.
cardHeight380Height of each card in pixels.
radius18Corner rounding of the cards in pixels.
tint"#05060a"Colour multiplied over cards as they recede, shading the depth of the stack.
depth220Z distance in pixels between each card along the depth rail. Higher values push the stack further back.
spread90Lateral offset in pixels applied per card so the stack fans out to one side.
tilt22Degrees each receding card rotates around the vertical axis, revealing its edge.
tiltDirection"left" | "right""right"Which side the stack fans and tilts toward.
perspective1400CSS perspective in pixels. Lower values exaggerate the depth foreshortening.
visibleCards4How many cards deep remain visible before further ones fade out.
falloff0.2How quickly brightness, tint and blur ramp up with depth.
blur6Maximum blur in pixels applied to the furthest visible card.
duration700Length of the advance transition in milliseconds.
ease"power3.out"GSAP easing used for navigation transitions.
autoplayAuto-advance the carousel, pausing on hover or focus.
autoplayDelay3200Delay between auto-advances in milliseconds.
loopWrap seamlessly from the last card back to the first.
showControlsShow the previous / next arrow buttons.
showIndicatorsShow the dot indicators.
onChange(index: number, item) => voidundefinedCalled whenever the focused card changes.
itemsArray<string | { image: string; alt?: string }>

Slides to display. Pass image URLs or objects with an image URL and alt text.

Default6 sample images
cardWidthnumber

Width of each card in pixels.

Default300
cardHeightnumber

Height of each card in pixels.

Default380
radiusnumber

Corner rounding of the cards in pixels.

Default18
tintstring

Colour multiplied over cards as they recede, shading the depth of the stack.

Default"#05060a"
depthnumber

Z distance in pixels between each card along the depth rail. Higher values push the stack further back.

Default220
spreadnumber

Lateral offset in pixels applied per card so the stack fans out to one side.

Default90
tiltnumber

Degrees each receding card rotates around the vertical axis, revealing its edge.

Default22
tiltDirection"left" | "right"

Which side the stack fans and tilts toward.

Default"right"
perspectivenumber

CSS perspective in pixels. Lower values exaggerate the depth foreshortening.

Default1400
visibleCardsnumber

How many cards deep remain visible before further ones fade out.

Default4
falloffnumber

How quickly brightness, tint and blur ramp up with depth.

Default0.2
blurnumber

Maximum blur in pixels applied to the furthest visible card.

Default6
durationnumber

Length of the advance transition in milliseconds.

Default700
easestring

GSAP easing used for navigation transitions.

Default"power3.out"
autoplayboolean

Auto-advance the carousel, pausing on hover or focus.

autoplayDelaynumber

Delay between auto-advances in milliseconds.

Default3200
loopboolean

Wrap seamlessly from the last card back to the first.

showControlsboolean

Show the previous / next arrow buttons.

showIndicatorsboolean

Show the dot indicators.

onChange(index: number, item) => void

Called whenever the focused card changes.

Defaultundefined

Dependencies

1 required package

npm install gsap