Platform
VaultVault
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
ButtonsPart of ProButtons
IconsPart of ProIcons
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
SavedPart of ProSaved
Support
DocumentationDocumentation
MCP serverMCP server
SettingsSettings
VaultGallery & imagesCard Ring Gallery
Row to Panel ListBrowse all 182Page Turn Menu
  • Free15
  • Navigation19
  • Buttons9
  • Scroll55
  • Text27
  • Sliders & marquees19
  • Gallery & images67
  • Cursor24
  • Page transitions10
  • Loaders2
  • Backgrounds10
  • UI components33
  • Interface Essentials144
  • Social Icons69
  • Payment Badges41
Sign inSign in

Start free. The code for 15 components, no card needed.

Get 15 free

Card Ring Gallery

This one is locked. Become a member to open the code for it and the rest of the Vault.

See plansTry the 15 free ones

What you'll need.

Install

  • gsap

Setup

npm i gsap

More like this

  • Card
  • Carousel
  • Infinite loop

Features.

  • A slow ring of portrait cards with optional centred copy, one turn every 40s as shipped
  • Works out how many cards fit its circumference, so they always sit evenly spaced: at least six, more on a bigger ring
  • Two layouts: one full ring with every card kept upright, or two half rings bleeding off the left and right edges with the cards leaning with the curve
  • Hover a card and it slides 2em out from the ring centre with a small overshoot
  • The ring eases to a halt while you hover a card and picks up again once you leave (optional)
  • Card size and ring radius follow the viewport, and the ring is rebuilt 150ms after a resize
  • Respects prefers-reduced-motion: the ring stays still and cards don't slide
  • GSAP core only

How to get it right.

Use portrait images

Every card is cropped to 3:4, up to 11.875em wide (190px at a 16px font size). Export around 600px wide so cards stay sharp on high-density screens. Six images is plenty: they repeat round the ring.

Adding copy

It ships as images only. To add copy, put .org_content (.org_label, .org_title, .org_text, .org_actions) after the template, or pass label, title, text, primary and secondary in React. It sits above the ring and is at most 33.75em wide. A label, a title of a few words, two lines of text and two buttons fit. The ring is a backdrop: cards can pass behind the copy, so keep the title short enough to stay clear of most of them.

Pick the layout for the section

The full ring suits a hero. The split layout leaves more room in the middle and uses a smaller title (2.625em instead of 4.75em), so it suits a closing call to action.

Leave room top and bottom

The stage is at least the full viewport height. On a short screen the top and bottom cards run off the edges, which is part of the look; a much shorter stage cuts more of the ring.

Variations.

  • Default — data-au-layout="ring", 40s per turn, pauses on hover
  • Split — data-au-layout="split": two half rings off the left and right edges
  • Never stops — data-au-hover-pause="false": cards still slide out, the ring keeps turning
  • Slower — data-au-speed="120": one turn every two minutes
  • Bigger or smaller ring — override --org-radius and --org-card on .org_stage
  • Your colours — override the --org-* palette variables

Where it fits.

  • Portfolio heroes — a body of work turning behind your name
  • Shop or print launches — the range circling the call to buy
  • Event and festival pages — posters, line-up shots or past years round the date
  • Closing calls to action — the split layout framing a subscribe or contact block

Frequently asked.

As many as fit evenly: the circumference divided by the card's longer side plus a 40% gap, never fewer than six. The images repeat in order to fill them.

At 767px and below a full ring switches to its phone radius: the smaller of 80% of the viewport width and 48% of its height, kept between 13.75em and 32.5em. The ring is wider than the screen there, so cards run off both sides. The split layout turns into one full ring there. Optional buttons stack full width.

Not built in: the ring is decoration and is hidden from screen readers. Add the optional copy block and put links there.

Yes. Every stage runs on its own.

Yes, gsap core, loaded before the script. No plugins.

Related components.

Pro

File Drawer Cards

Hover

Pro

Capsule Image Hero

Click

Pro

Depth Fly-Through Hero

Load