0Views
0Copies
Variants

API Reference
Props for <CurvedStatCarousel />
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string | "#07060a" | The surface behind the wall. |
| accentColor | string | "#ff6b1a" | The warm light: the halo behind the wall, each card’s glow and the front card’s ring. |
| cardColor | string | "#0b0809" | Each card’s glass, lit a little at its top left and warmed at its foot by the accent. |
| textColor | string | "#f5f0ea" | The figures and wordmarks; labels and pills take a softer share of it. |
| Prop | Type | Default | Description |
|---|---|---|---|
| statFont | FontValue | {"fontFamily":"Chakra Petch","fontWeight":600} | The big figures’ family and weight, also used by the globe and wing wordmarks. The component doesn’t load the font: add it to your app. |
| textFont | FontValue | {"fontFamily":"IBM Plex Sans","fontWeight":400} | The wordmarks’ and labels’ family, and the labels’ weight. The component doesn’t load the font: add it to your app. |
| tagFont | FontValue | {"fontFamily":"IBM Plex Mono","fontWeight":400} | The pills’ family and weight, also used by the hex wordmark and the wing’s badge. The component doesn’t load the font: add it to your app. |
| Prop | Type | Default | Description |
|---|---|---|---|
| speed | number | 4 | How far the wall turns each second on its own; 0 holds it still. |
| reverse | boolean | false | Turns the other way. |
| draggable | boolean | true | Dragging turns the wall, and a flick coasts on before it slows. |
| cardWidth | number | 320 | A card’s width; 64% of it when the component is under 768px wide. |
| cardHeight | number | 380 | A card’s height; 68% of it when the component is under 768px wide. |
| cornerRadius | number | 22.4 | How round the cards’ corners are. |
| gap | number | 22 | The space between neighbouring cards. |
| curve | number | 980 | The cylinder’s radius: lower curves the wall more tightly round you. |
| depth | number | 400 | How far behind the screen the front card stands, so it is the smallest and the sides come towards you. |
| perspective | number | 800 | The viewer’s distance from the screen: lower is a stronger perspective. |
| reflection | number | 22 | How strong the floor’s reflection of the cards is; 0 removes it. Shown in Chrome, Edge and Safari. |
| Prop | Type | Default | Description |
|---|---|---|---|
| items | Array<{ mark, name, suffix, logo, industry, stat, statLabel }> | [{"mark":"spark","name":"northwind","suffix":"health","industry":"Healthcare","stat":"99%","statLabel":"less alert noise"},{"mark":"globe","name":"MERIDIAN","suffix":"","industry":"Logistics","stat":"10×","statLabel":"faster response"},{"mark":"chip","name":"cobalt","suffix":"pay","industry":"Fintech","stat":"4 h","statLabel":"to full protection"},{"mark":"hex","name":"Ostra","suffix":"Labs","industry":"Software","stat":"100%","statLabel":"audit-ready actions"},{"mark":"wing","name":"KESTREL","suffix":"MSP","industry":"IT services","stat":"40","statLabel":"clients, one console"},{"mark":"asterisk","name":"aster","suffix":"BIO","industry":"Biotech","stat":"9 s","statLabel":"to stop a data leak"}] | The cards, from the one that starts at the front round the wall; they repeat to fill the circle. |
| Prop | Type | Default | Description |
|---|---|---|---|
| friction | number | 0.94 | How much of a flick’s speed is kept each frame: higher coasts longer. |
| Prop | Type | Default | Description |
|---|---|---|---|
| onActiveChange | (index: number) => void | — | Called with the front card’s index in the cards whenever it changes, to show its story beside the wall. |
S
Motion score
Compositor-only
- Category
- Image Gallery
- Framework
- React
- Published
- Dec 4, 2026
- Dependencies
- Variants
Curved Stat Carousel
Stat cards standing on the inside of a slowly turning cylinder: the card ahead is farthest away, the ones at either side wrap round towards you, and a dark floor reflects them under a warm halo. The front card lights up with a glowing ring as it arrives; drag or flick to turn it. Set the cards' wordmarks, figures and labels, the colors, fonts, card size and how tightly the wall curves.