Isometric Card Stack
An isometric stack of cards that work, finish and move on.
Features
- •Tells a story — Each card works with its task icon (gear, code, chart, lock, bolt or doc), shows a check when it's done, then lifts out while the rest step forward and a new card arrives.
- •Details that feel alive — Text lines write themselves in on new cards, the base's vents blink as activity lights while a card works, and the base glows on every check.
- •True isometric — Drawn in real 30° isometric SVG, so it stays crisp at any size and scales to fit its container on desktop, tablet and phone.
- •Your colours, your pace — Any accent and surface colour, 2 to 4 cards in the stack, any speed, and switches for the lights, shadow and pause on hover.
- •Hook into it — onCycle fires each time a card finishes with the running count, so it can drive a counter or follow a real process.
- •Light and considerate — One file with Framer Motion. Pauses offscreen and holds still for people who turn off motion.
Props API Reference
11 configurable props| Prop | Type | Default | Description |
|---|---|---|---|
| accentColor | string | "#FF5A1F" | Edges, lines, icons, lights and glow. |
| surfaceColor | string | "#0D0D0D" | Card faces and the base. |
| stackSize | number | 3 | Cards standing in the stack (2–4). |
| interval | number | 2600 | Milliseconds per card: it works, shows a check, then leaves. 0 holds still. |
| icons | ("gear" | "code" | "chart" | "lock" | "bolt" | "doc")[] | ["gear", "code", "chart", "lock", "bolt"] | Task icons for incoming cards, used in turn. |
| activity | boolean | true | Blinking lights on the base and a glow when a card is done. |
| shadow | boolean | true | Soft shadow under the base. |
| pauseOnHover | boolean | false | Pause while the pointer is over it. |
| onCycle | (completed: number) => void | undefined | Called each time a card finishes, with the running count. |
| label | string | "An isometric stack of documents…" | Accessible description. |
| className / style | string / CSSProperties | undefined | On the SVG; it fills its width and keeps a 600:850 shape. |