Circle Stack

A tilted stack of circles that cycles through your images

circle-stack-tw
Lavender gradient
Peach gradient
Mint gradient

Customize

410px
60°
45px
2px
4s
0.9s
#FFFFFF
#000000

Props

itemsCircleStackItem[]

Discs to render. Each item: { id?, image, alt? }.

Default:3 sample images
sizenumber

Diameter of each disc in pixels.

Default:410
tiltnumber

Disc tilt in degrees. 0 = flat circle, 90 = edge-on.

Default:60
stackGapnumber

Vertical separation between adjacent discs in pixels.

Default:45
intervalnumber

Seconds between active-index advances.

Default:4
transitionDurationnumber

Seconds for the lift / settle transition.

Default:0.9
pausedboolean

Pause the auto-cycle.

Default:false
surfaceColorstring

CSS color for the disc surface (top face).

Default:"#FFFFFF"
borderColorstring

CSS color for the disc border ring.

Default:"#000000"
borderWidthnumber

Border thickness in pixels.

Default:1
classNamestring

Class applied to the root element.

Default:undefined
styleCSSProperties

Inline style applied to the root element.

Default:undefined
onActiveChange(index: number) => void

Fires when the active disc index changes.

Default:undefined