∞ forever components

Navigation

Radial Dungeon Inventory Wheel

Radial Dungeon Inventory Wheel control in the 8-Bit Gaming system.

canvasmedium complexitymoderate motionclickaccessible

Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited

Live demo — the real component, running in a sandbox. One self-contained HTML file, zero dependencies. Open it on the canvas →
1

When to use it

Dungeon crawler or retro RPG inventories, weapon or tool pickers, 8-bit themed navigation where a ring of slots shows the selected item.

When not to

Menus with many items (the wheel draws six slots, four buttons) or production inventory logic: item names and stats are placeholder text. The wheel spins and cycles until first input.

Working with an AI agent

Every component ships agent-ready metadata. An example instruction for this one:

Edit the items array (name, icon) to change the six slots, change the four .bg08-item-btn labels and data-index values, or retune --bit-gold, --bit-red and --bit-dim. Keep native buttons with aria-pressed, the :disabled / [aria-disabled] style and the demo-v1 takeover. Theme: tokens live in :root, the light variant in [data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.

Safe to edit

  • item names and icons (items array)
  • selector buttons (.bg08-item-btn, data-index)
  • spin speed (angle += 0.015) and auto-select delay (timer > 200)
  • palette tokens (--bit-gold, --bit-red, --bit-dim, --bit-card)
  • wheel radius (r = w * 0.42)

Keep intact

  • demo-v1 preview lifecycle: initialize demoEnabled from window.__foreverPreview and stop attract work on the window forever:interactive event; retain manual feedback, settling, cleanup and explicit sessions

Known limitations

  • State remains local to each mounted instance; format/theme remount preserves takeover, not component values.
  • Rests until used (owner rule, 2026-11-21): the idle demo runs only when a host sets window.__foreverPreview.demoEnabled to true, such as the preview Forever button. The first input still stops it for good.

arcade8-bitpixelretrogamingmicroswitchradial-dungeon-inventory-wheelnavradial-menuinventory-wheelweapon-wheelpie-menu8-bit-gamingselection

More Navigation components

  • Magnify DockmacOS-style frosted-glass dock of six gradient tiles that scale up and lift toward the cursor; idle sweep that stops at first deliberate input keeps it…
  • Hamburger MorphThree-line hamburger button spring-morphs into a glowing teal X on click; button border gains teal glow when open. Auto-cycles as demo.
  • Radial Fan MenuA core button rotates to an X and fans five glowing stone-toned icon petals outward in a staggered spring arc; auto-cycles open/close as a demo.
  • Slide-in DrawerHamburger icon morphs to an X while a side panel slides in over a dark scrim, revealing four nav items with staggered fade-in animations.
  • Underline FollowA flat saffron underline slides and resizes to follow hovered nav links; wanders until first deliberate input across links when unhovered.
  • Sliding PillA 3-segment Day/Week/Month toggle where a raised cobalt-glaze thumb with contact and ambient shadows slides between options with a spring bounce in a…