0Views
0Copies
Variants

API Reference
Props for <RingCarousel />
| Prop | Type | Default | Description |
|---|---|---|---|
| backgroundColor | string | "rgba(244, 246, 250, 0)" | The surface behind the ring; fully transparent shows the page through. |
| glowColor | string | "rgba(255, 255, 255, 0)" | A soft light behind the ring; fully transparent removes it. |
| cardColor | string | "#ffffff" | Each card’s fill, seen in its caption and picture border. |
| borderColor | string | "rgba(11, 16, 32, 0.06)" | The hairline inside each card’s edge; fully transparent removes it. |
| shadowColor | string | "rgba(11, 16, 32, 0.45)" | The soft shadow under each card; fully transparent removes it. |
| dimColor | string | "#ffffff" | What cards sink into away from the front, best the page’s own color. |
| titleColor | string | "#0b1020" | The caption’s title. |
| subtitleColor | string | "#8a92a3" | The caption’s second line. |
| badgeColor | string | "rgba(47, 107, 255, 0.1)" | The badge’s fill. |
| badgeTextColor | string | "#2f6bff" | The badge’s text. |
| highlightColor | string | "rgba(22, 163, 74, 0.1)" | The fill of a highlighted card’s badge. |
| highlightTextColor | string | "#15803d" | The text of a highlighted card’s badge. |
| Prop | Type | Default | Description |
|---|---|---|---|
| showCaption | boolean | true | Each card’s title, second line and badge; off leaves the picture alone. |
| items | Array<{ image, title, subtitle, badge, highlight, alt }> | [{"image":"/motionuikit/images/storefront-hero-fleure.webp","title":"Fleure","subtitle":"Hero · E-commerce","badge":"Free","highlight":true,"alt":"Fleure perfume hero: a glass bottle among pink blossoms on a dark stage"},{"image":"/motionuikit/images/storefront-hero-zesti.webp","title":"Zesti","subtitle":"Hero · Product","badge":"Free","highlight":true,"alt":"Zesti protein bar hero: nuts and berries bursting across a warm beige page"},{"image":"/motionuikit/images/storefront-hero-halden.webp","title":"Halden","subtitle":"Hero · Fashion","badge":"$49","highlight":false,"alt":"Halden menswear hero: oversized tees on a rail in a bright showroom"},{"image":"/motionuikit/images/storefront-hero-lumetra-ai.webp","title":"Lumetra AI","subtitle":"Hero · AI","badge":"$49","highlight":false,"alt":"Lumetra AI hero: an analytics dashboard glowing teal on a dark page"},{"image":"/motionuikit/images/storefront-hero-pizzly.webp","title":"Pizzly","subtitle":"Hero · Food","badge":"$49","highlight":false,"alt":"Pizzly pizza hero: a flying pizza slice on a tomato-red background"},{"image":"/motionuikit/images/storefront-hero-crunchery.webp","title":"Crunchery","subtitle":"Hero · Product","badge":"$49","highlight":false,"alt":"Crunchery cookie hero: snack packs pinned to a cream wall"},{"image":"/motionuikit/images/storefront-hero-sprout.webp","title":"Sprout","subtitle":"Hero · Education","badge":"$49","highlight":false,"alt":"Sprout preschool hero: illustrated children under a warm cream headline"},{"image":"/motionuikit/images/storefront-hero-uproar.webp","title":"Uproar","subtitle":"Hero · Agency","badge":"Free","highlight":true,"alt":"Uproar agency hero: a bold black and red headline on an off-white grid"},{"image":"/motionuikit/images/storefront-hero-visora.webp","title":"Visora","subtitle":"Hero · Fashion","badge":"$49","highlight":false,"alt":"Visora store hero: three varsity caps on a cream background"},{"image":"/motionuikit/images/storefront-hero-skylayer.webp","title":"Skylayer","subtitle":"Hero · SaaS","badge":"$49","highlight":false,"alt":"Skylayer SaaS hero: AI workflow cards floating above a blue sky"}] | The cards, in order round the ring from the one that starts at the front; fewer than fill it repeat. |
| font | FontValue | {"fontFamily":"Inter Tight","fontWeight":600} | The caption’s family, and the weight of its title and badge. The component doesn’t load the font: add it to your app. |
| captionStyle | 'strip' | 'overlay' | "strip" | A strip under the picture, or over its foot on a fade of the card’s fill. |
| textSize | number | 5.2 | The title’s and badge’s size, of the card’s width; never under 10.5px. |
| Prop | Type | Default | Description |
|---|---|---|---|
| layout | 'ring' | 'inside' | 'wheel' | "ring" | The ring from outside, the ring from within, or a flat upright wheel. |
| motion | 'glide' | 'steer' | 'step' | "glide" | Turning at an even pace, turning where the pointer steers it, or springing from card to card; stepping, a click brings a card to the front. |
| cardWidth | number | 340 | A card’s width on a wide screen; it steps down to 82% of it on a tablet and 59% on a phone. |
| imageHeight | number | 62.5 | The picture’s height, of the card’s width. |
| captionHeight | number | 21.5 | The caption’s height, of the card’s width. |
| cornerRadius | number | 16 | How round the cards’ corners are. |
| mat | number | 0 | A border of the card’s fill round the picture, of the card’s width. |
| gap | number | 7 | The gap between neighbouring cards, of a card’s width. |
| reach | number | 60 | The ring’s radius, of the component’s width: 50 just reaches its edges, more runs past them; a wheel wants more, to curve gently. |
| perspective | number | 5 | How far the viewer stands from the ring, in radii: lower is a stronger perspective. |
| focusScale | number | 100 | The front card’s size, of the others’. |
| fade | number | 18 | How far in from each side the cards fade out; 0 turns it off. |
| dim | number | 0 | How far cards sink into the dim color away from the front. |
| speed | number | 9 | How far the ring turns each second on its own; 0 holds it still. |
| steerSpeed | number | 40 | How fast the ring turns with the pointer at either side; in the middle it stands still. |
| dwell | number | 2.2 | How long each card stays at the front; 0 waits for a drag or a click. |
| hoverScale | number | 100 | A hovered card’s size, of its own. |
| reverse | boolean | false | Turns the other way. |
| pauseOnHover | boolean | true | Hovering eases the ring to a stop. |
| draggable | boolean | true | Dragging turns the ring, and a flick keeps it turning before it eases back, or on to a card when it steps. |
| scrollable | boolean | false | A mouse wheel or a sideways swipe over the cards turns the ring instead of scrolling the page. |
| Prop | Type | Default | Description |
|---|---|---|---|
| scrollSpeed | number | 1.5 | How far a scroll turns the ring, by the distance scrolled. |
| settle | number | 2.4 | How quickly the ring eases back to its pace after a hover, a flick or a scroll. |
S
Motion score
Compositor-only
- Category
- Image Gallery
- Framework
- React
- Published
- Nov 27, 2026
- Dependencies
- Variants
Ring Carousel
A ring of picture cards with names and prices turning in 3D, in three layouts: seen from outside, from within, or as an upright wheel. It glides, follows the pointer or springs from card to card, and can be dragged, flicked and scrolled. Set your own cards, colors, font, card shape, ring size and perspective.