Card Width
220px
Gap
25px
Curve
Tilt
-5°
Perspective
2500px
Speed
14°/s
Interval
3s
Momentum
0.6
Parallax
0.3
Stretch
0.5
Depth Fade
0.55
Inner Shade
0.6
Corner Radius
12px

More components in Pro

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

View all 255
29 properties
itemsArray<{ src: string; alt?: string; title?: string; subtitle?: string }>10 sample photosImages placed around the ring. The alt text is announced to screen readers, the title and optional subtitle are shown by captions. Passing a new list of the same length crossfades each card to its new image.
preset'cylinder' | 'orbit' | 'wheel' | 'panorama''cylinder'Shape of the ring. Cylinder faces the cards outward, orbit keeps every card turned toward you, wheel spins top to bottom, and panorama puts the camera inside the ring.
'assemble' | 'rise' | 'spin' | 'none''rise'Entrance once the images load. Assemble glides the cards in from a wider ring, rise slides them in one by one from the edge of the frame, and spin lands a fast turn.
cardWidth220Card width in px. The whole ring scales down to fit its container when it needs to.
aspectRatioCard width divided by its height. Images are cropped to fill the card.
gap25Space between neighbouring cards, in px.
curvefrom presetHow far the cards bend to follow the ring, from flat at 0 to fully wrapped at 1. Ignored by orbit.
tiltfrom presetCamera angle in degrees. Negative values look down onto the ring.
perspectivefrom presetCamera distance in px. Lower values exaggerate depth. Panorama sets its own, since the camera sits at the centre.
autoplay'drift' | 'step' | 'off''drift'Drift turns the ring continuously, step moves one card at a time and settles on it, off only moves when you do.
speed14Drift speed in degrees per second.
interval3Seconds between moves in step mode.
direction'left' | 'right''left'Which way the front cards travel. A flick changes it to the way you threw the ring. On the wheel, left means up.
draggableLets you grab and throw the ring with a mouse, finger or horizontal trackpad scroll.
momentum0.6How long a throw keeps gliding before it blends back into the autoplay speed, from 0 to 1.
snapSettles on a card whenever the ring comes to rest.
pauseOnHoverEases the ring to a stop while the pointer is over it.
focusOnClickClicking a card turns it to the front.
parallax0.3How much the camera leans toward the pointer, from 0 to 1.
stretch0.5How much the ring swells outward when it spins fast, from 0 to 1.
depthFade0.55How strongly cards fade into fadeColor as they turn away, from 0 to 1.
fadeColor'#000000'Color distant cards fade toward. Match it to the background behind the carousel.
innerShade0.6Brightness of the inside faces seen through the back of the ring, from 0 to 1.
cornerRadius12Corner radius of the cards, in px.
captionsShows the front card title, subtitle and position under the ring.
onChange(index: number) => voidCalled when a different card reaches the front.
onItemClick(item, index: number) => voidCalled when a card is clicked, or when Enter is pressed on the carousel.
Extra classes on the container.
Inline styles on the container.
itemsArray<{ src: string; alt?: string; title?: string; subtitle?: string }>

Images placed around the ring. The alt text is announced to screen readers, the title and optional subtitle are shown by captions. Passing a new list of the same length crossfades each card to its new image.

Default10 sample photos
preset'cylinder' | 'orbit' | 'wheel' | 'panorama'

Shape of the ring. Cylinder faces the cards outward, orbit keeps every card turned toward you, wheel spins top to bottom, and panorama puts the camera inside the ring.

Default'cylinder'
intro'assemble' | 'rise' | 'spin' | 'none'

Entrance once the images load. Assemble glides the cards in from a wider ring, rise slides them in one by one from the edge of the frame, and spin lands a fast turn.

Default'rise'
cardWidthnumber

Card width in px. The whole ring scales down to fit its container when it needs to.

Default220
aspectRationumber

Card width divided by its height. Images are cropped to fill the card.

gapnumber

Space between neighbouring cards, in px.

Default25
curvenumber

How far the cards bend to follow the ring, from flat at 0 to fully wrapped at 1. Ignored by orbit.

Defaultfrom preset
tiltnumber

Camera angle in degrees. Negative values look down onto the ring.

Defaultfrom preset
perspectivenumber

Camera distance in px. Lower values exaggerate depth. Panorama sets its own, since the camera sits at the centre.

Defaultfrom preset
autoplay'drift' | 'step' | 'off'

Drift turns the ring continuously, step moves one card at a time and settles on it, off only moves when you do.

Default'drift'
speednumber

Drift speed in degrees per second.

Default14
intervalnumber

Seconds between moves in step mode.

Default3
direction'left' | 'right'

Which way the front cards travel. A flick changes it to the way you threw the ring. On the wheel, left means up.

Default'left'
draggableboolean

Lets you grab and throw the ring with a mouse, finger or horizontal trackpad scroll.

momentumnumber

How long a throw keeps gliding before it blends back into the autoplay speed, from 0 to 1.

Default0.6
snapboolean

Settles on a card whenever the ring comes to rest.

pauseOnHoverboolean

Eases the ring to a stop while the pointer is over it.

focusOnClickboolean

Clicking a card turns it to the front.

parallaxnumber

How much the camera leans toward the pointer, from 0 to 1.

Default0.3
stretchnumber

How much the ring swells outward when it spins fast, from 0 to 1.

Default0.5
depthFadenumber

How strongly cards fade into fadeColor as they turn away, from 0 to 1.

Default0.55
fadeColorstring

Color distant cards fade toward. Match it to the background behind the carousel.

Default'#000000'
innerShadenumber

Brightness of the inside faces seen through the back of the ring, from 0 to 1.

Default0.6
cornerRadiusnumber

Corner radius of the cards, in px.

Default12
captionsboolean

Shows the front card title, subtitle and position under the ring.

onChange(index: number) => void

Called when a different card reaches the front.

onItemClick(item, index: number) => void

Called when a card is clicked, or when Enter is pressed on the carousel.

Extra classes on the container.

Inline styles on the container.