Sections / Gems / 3D and WebGL data pieces

Gyre Index

A split (a budget, a portfolio, where the money goes) as the nested rings of a gyroscope. Each category is a ring: its thickness is its share and it spins faster the bigger it is, every ring on its own gimbal axis and lit as it turns. Point at a ring to light it; click it, or its row in the legend, and it swings face-on while the others dim and its share shows in the middle. The legend is a real list with the numbers in it.

Included with Everything
Open the demo
Gyre Index: six frames of the gem in motion
Kind
3D and WebGL data pieces
Interaction
autoplay spin · click to face · pointer lean · legend buttons · data · canvas 3D
Dependencies
None
Licence
Licensed with Full Access, for the sites you build; do not resell the gem itself

Formats

  • Webflow (native)
  • Figma (layers)
  • Framer component
  • HTML
  • Prompts for Claude Code, Cursor, Lovable, v0, Bolt

Copy to Webflow pastes a native section with the gem in an Embed inside it. Copy to Figma pastes a frame of its best moment, text and controls as layers. Copy to Framer pastes a component with its options as controls. HTML is one self-contained snippet. Each prompt (Claude Code, Cursor, Lovable, v0, Bolt) carries the exact files, so your agent installs this gem, not a lookalike. With the MCP server, ask your agent for get_section("gyre-index").

Behaviour and accessibility

  • Every number is real text in the legend (value and share), and the middle of the gyroscope is a polite live region that reads the chosen category.
  • Legend rows are buttons (aria-pressed): Enter or Space chooses a ring, arrow keys move between rows, Escape lets it go.
  • The rings spin while the piece is on screen and stop entirely off screen or in a background tab; the pointer leans the whole gyroscope a little (mouse and pen).
  • With prefers-reduced-motion: the rings hold still at their angles, and choosing one turns it face-on at once.
  • Below 720 px wide the legend sits under the gyroscope.

Options

OptionTypeDefaultWhat
itemsGyreItem[]6 built inThe categories. Two to eight read best.
palettestring[]8 built inColours for items without their own.
prefixstring"€"Put before every value ("€").
suffixstring"M"Put after every value ("M").
decimalsnumber1Decimals shown on values.
captionstring"Spent in 2025"The line under the total in the middle.
backgroundstring"#0b0c10"Background behind the gyroscope.
speednumber1Time scale of the spin: 1 is calm, 2 twice as fast.
labelstring"Where the money goes"Accessible name of the piece.
onSelect(index: number) => voidCalled when a ring is chosen (index) or let go (-1).