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.
- 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
| Option | Type | Default | What |
|---|---|---|---|
items | GyreItem[] | 6 built in | The categories. Two to eight read best. |
palette | string[] | 8 built in | Colours for items without their own. |
prefix | string | "€" | Put before every value ("€"). |
suffix | string | "M" | Put after every value ("M"). |
decimals | number | 1 | Decimals shown on values. |
caption | string | "Spent in 2025" | The line under the total in the middle. |
background | string | "#0b0c10" | Background behind the gyroscope. |
speed | number | 1 | Time scale of the spin: 1 is calm, 2 twice as fast. |
label | string | "Where the money goes" | Accessible name of the piece. |
onSelect | (index: number) => void | Called when a ring is chosen (index) or let go (-1). |



Free