ONONC

Card Swap

A 3D card stack that auto-cycles the front card to the back, pausing on hover.

motionloop3D
Live

Analytics

Realtime insight

New

Automation

Flows that run themselves

Team

Collaboration

Ship together

SOC 2

Security

Locked down by default

Customize

Stack

Card width320px
Card height210px
X offset26px
Y offset22px
Rotation-5°
Scale step0.06

Motion

Swap delay3s
Pause on hover

Style

Corner radius20px

Props

PropTypeDefaultDescription
itemsCardSwapItem[]gradient setCards in the stack, front to back ({ title, subtitle?, tag?, background? }).
cardWidthnumber320Card width in pixels.
cardHeightnumber210Card height in pixels.
delaynumber3Seconds each card stays in front before advancing.
offsetXnumber26Horizontal shift per card deeper in the stack, in pixels.
offsetYnumber22Vertical shift per card deeper in the stack, in pixels.
skewnumber-5Rotation per card deeper in the stack, in degrees.
scaleStepnumber0.06Scale reduction per card deeper in the stack.
pauseOnHoverbooleantruePause the rotation while the pointer is over the stack.
radiusnumber20Card corner radius in pixels.
labelstring"Auto-rotating card stack"Accessible name for the stack.