Cards riding an ellipse: one rotation value sets every card's position, size and stacking. It steps one card and holds, drags with a snap, turns with the arrow keys and shrinks to fit any width.
- Landing page gallery
- Screens of a product
- Template showcase
- Logo or quote reel
Examples
Installation
Installation is part of Pro
Pro components install from a licensed registry. The live preview stays open to everyone.
Props
- items
{ id, label, content, caption? }[]- The cards. content is anything: an image or live content (scale a real block down with a transform, inert and aria-hidden); it fills the card. label is what a screen reader hears. caption shows under the face on the front card only.
- backOpacity
number- Default
0.15 - Opacity of a card at the back of the ring (0 to 1). The back fades, so the centre label never reads over a card.
- centerLabel
ReactNode- Words in the middle of the ring. Cards that pass in front cover them; on a narrow ring (cards below 60% size) it is hidden.
- cardWidth / cardHeight
number- Default
280 / 360 - Card size in px at full scale. The ring shrinks the cards to fit the width it is in.
- minScale
number- Default
0.55 - Scale of a card at the back of the ring (0.3 to 1).
- radiusRatio
number- Default
0.3 - The ellipse's vertical radius as a share of the horizontal one: higher is a deeper ring.
- spread
number- Default
1 - How far the ring reaches across the stage (0.5 to 1). At 1 the side cards touch the edges.
- centerOffset
number- Default
0 - Moves the ring's centre down (positive) or up, as a share of the card height.
- fill
number- Default
8 - Fewest cards on the ring. Items repeat whole until there are this many; the copies are aria-hidden and inert.
- autoplay / hold / stepBy
boolean / number / number- Default
true / 2400 / 1 - Step on its own: hold is the time in ms a card stays at the front, stepBy the cards per step.
- drag / keyboard
boolean- Default
true / true - Drag to turn it (snaps to a card on release); left and right arrow keys step it.
- paused / label
boolean / string- Default
false / "Gallery" - Hold the ring still; the name of the carousel region.
- Motion
-- One rotation value, one rAF loop that writes transforms straight to the cards and only runs while something moves. A step is 560ms ease in-out, a snap 280ms ease out. Autoplay stops on hover, focus, off screen and in a hidden tab.
- a11y
carousel- A region with the carousel role description, each real card a slide named "n of N"; the Pause button is always visible while it plays; reduced motion leaves a still ring.
| Prop | Type | Default | Description |
|---|---|---|---|
| items | { id, label, content, caption? }[] | - | The cards. content is anything: an image or live content (scale a real block down with a transform, inert and aria-hidden); it fills the card. label is what a screen reader hears. caption shows under the face on the front card only. |
| backOpacity | number | 0.15 | Opacity of a card at the back of the ring (0 to 1). The back fades, so the centre label never reads over a card. |
| centerLabel | ReactNode | - | Words in the middle of the ring. Cards that pass in front cover them; on a narrow ring (cards below 60% size) it is hidden. |
| cardWidth / cardHeight | number | 280 / 360 | Card size in px at full scale. The ring shrinks the cards to fit the width it is in. |
| minScale | number | 0.55 | Scale of a card at the back of the ring (0.3 to 1). |
| radiusRatio | number | 0.3 | The ellipse's vertical radius as a share of the horizontal one: higher is a deeper ring. |
| spread | number | 1 | How far the ring reaches across the stage (0.5 to 1). At 1 the side cards touch the edges. |
| centerOffset | number | 0 | Moves the ring's centre down (positive) or up, as a share of the card height. |
| fill | number | 8 | Fewest cards on the ring. Items repeat whole until there are this many; the copies are aria-hidden and inert. |
| autoplay / hold / stepBy | boolean / number / number | true / 2400 / 1 | Step on its own: hold is the time in ms a card stays at the front, stepBy the cards per step. |
| drag / keyboard | boolean | true / true | Drag to turn it (snaps to a card on release); left and right arrow keys step it. |
| paused / label | boolean / string | false / "Gallery" | Hold the ring still; the name of the carousel region. |
| Motion | - | - | One rotation value, one rAF loop that writes transforms straight to the cards and only runs while something moves. A step is 560ms ease in-out, a snap 280ms ease out. Autoplay stops on hover, focus, off screen and in a hidden tab. |
| a11y | carousel | - | A region with the carousel role description, each real card a slide named "n of N"; the Pause button is always visible while it plays; reduced motion leaves a still ring. |
What it handles
- 01Turns one rotation value into every card's x, y, scale and stacking, so the ring stays one smooth shape at any angle.
- 02Repeats your items until the ring is full, and hides the copies from screen readers so each item is heard once.
- 03Shrinks the cards continuously to fit the width it is given, from a wide hero down to a phone, with no breakpoints.
- 04Steps one card and holds, then steps again; it stops on hover, focus, off screen, in a hidden tab and with the Pause button.
- 05Lets you drag the ring with the card under the pointer following 1:1, and settles on the nearest card when you let go.
- 06Turns with the left and right arrow keys and reads the new card out; under reduced motion it keeps still and the keys step at once.
States
- Step
- Every card travels along the ellipse to the next slot
- 560ms, ease in-out (canvas travel)
- Hold
- Nothing moves while a card sits at the front
- none
- Drag
- The ring follows the pointer, card for card
- 0ms, follows the pointer
- Release
- The ring settles on the nearest card
- 280ms, ease out
- Hover or focus
- Autoplay waits; the ring stays where it is
- none
- Reduced motion
- A still ring; arrow keys turn it at once
- 0ms
| State | What moves | Timing |
|---|---|---|
| Step | Every card travels along the ellipse to the next slot | 560ms, ease in-out (canvas travel) |
| Hold | Nothing moves while a card sits at the front | none |
| Drag | The ring follows the pointer, card for card | 0ms, follows the pointer |
| Release | The ring settles on the nearest card | 280ms, ease out |
| Hover or focus | Autoplay waits; the ring stays where it is | none |
| Reduced motion | A still ring; arrow keys turn it at once | 0ms |
Works with
- HeroSits under the headline as the product shot: the ring is the proof, the hero is the promise.
- Feature splitPairs for a longer page: the ring shows breadth, the split rows explain one thing each.
- Logo cloudIts marquee has the same pause rules and Pause button, so a page with both stops in the same way.
When to use
When to use
- A landing page gallery of screens, templates or quotes that should feel like one object instead of a grid.
- Showing breadth in a small space: a handful of items repeat to fill the ring.
When not to use
- Cards people must read or click one by one: a still grid is easier to scan: use Feature Grid.
- A row of logos that only needs to drift: use Logo Cloud.
- Product UI: the ring is a marketing piece, nothing in an app needs to orbit.
Using with AI
Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:
- Add the Knowns UI Ring Reel to my app and wire it to my own data.
- I need a landing page gallery of screens, templates or quotes that should feel like one object instead of a grid. Set that up with the Knowns UI Ring Reel.
- Which Ring Reel props do I need for a minimal setup? Show me a short example.
With the server connected, your assistant calls get_component({ name: "ring-reel" }) and search_docs({ query: "ring reel" }). Pro props, full examples and source come back once your license key is in the MCP config.