plated tab bar

AI UI component · a prompt for Claude, Codex and Cursor

free

The prompt is free with an account: sign up with Google or email, and your copy starts right after. The project and Figma file come with monthly or yearly.

A near-black room with a dark anodised tray in the middle: five Phosphor icons, Home, Explore, Chats, Alerts (with an unread dot) and Profile. The active tab sits on a chrome plate, a rounded bevel that mirrors a bright silver studio around a softly brushed graphite face, with the tab's icon filled white on it and a faint light thrown into the tray. Tap another tab and the plate travels there on two springs: the leading edge runs ahead and the trailing edge follows, so the plate stretches, gets lower and settles with a small overshoot; while it moves, its rim splits the light into a rainbow halo, the reflection rolls with the travel and the icons fill as the plate covers them. Hovering a tab brightens its outline and leans the reflection towards the pointer; a press dips the plate. Until someone uses it, a pointer plays an 11-second autoplay that taps Chats, Profile, Explore, Alerts and Home; the first tap or key press hands the bar over, and the tabs are real keyboard-focusable buttons. The tray and plate are one WebGL2 fragment shader (rounded-box distance fields, a bevel normal, a procedural studio environment with a chromatic split), the icons a 2D canvas above it, with film grain. No images and no fonts. The motion runs on the piece's own clock, so ?rec and window.__render(t) redraw any autoplay frame exactly for video export; reduced motion moves the plate at once.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • tab bar
  • bottom navigation
  • active indicator
  • chrome
  • metal
  • bevel
  • reflection
  • chromatic aberration
  • spectral halo
  • spring motion
  • stretch
  • hover
  • notification dot
  • webgl shader
  • signed distance field
  • canvas 2d
  • autoplay demo
  • keyboard navigation
  • frame-exact recorder

stack

  • react
  • vite
  • typescript
  • webgl

colors

  • #070809
  • #0F1012
  • #2B2E33
  • #C8CDD6
  • #E9EDF2
  • #FFFFFF

license

Free account: personal use only. Monthly or yearly adds commercial and client work. Don't resell or share the template, prompt or files.

read the license