Back

Card Stack

Satu Visual ComponentNew

A stack of cards that auto-cycles the front card to the back.

"Clean and fast."

— Andi

"Love the animations."

— Sari

"Shipped in a day."

— Budi

Installation

Add it with the CLI:

Terminal

$

Or open the Code tab above and copy it in manually — it relies on the standard cn() helper from @/lib/utils.

Usage

Great for testimonials. Pass items with { id, content }; set interval to 0 to stop auto-cycling.

Props

PropTypeDefaultDescription
items{ id, content }[]Cards to stack.
classNamestringExtra classes.
intervalnumber3000Ms between cycles (0 = off).