Game UI
Console and PC game menus on the web: framed panels with clipped corners, stat and XP bars, button prompts, big condensed caps.
Try it
Ground
#0b0f14
Surface
#121a24
Text
#e8f1ff
Accent
#ff4655
- Type
- display, on a dark ground
- Radius
- 0px
- Material
- border:1px solid rgba(255,70,85,.7); clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px))
This screen uses only the look's tokens. Click, type and toggle it. The libraries below are what your agent installs to build the real thing.
What your agent builds it with
Component kits
shadcn/uiCopy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI.the default component layer for a new React + Tailwind app or SaaS dashboard
the project is Vue, Svelte or Solid: use shadcn-vue, shadcn-svelte or Kobalte
Primitives
Base UIUnstyled, accessible React primitives from the Radix, Floating UI and MUI teams.building your own design system where every pixel is custom
you want styled components today: use shadcn-ui (Base UI flavour) or coss-ui
Motion
MotionThe default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.dialogs, popovers and panels that must animate out before they unmount (AnimatePresence)
a hover colour change or a one-shot fade: a CSS transition costs zero bytes
Text effects
NumberFlowAnimated number component: digits roll to the new value, formatted with Intl.NumberFormat.a pricing toggle where the price rolls between monthly and yearly
a value redrawn every frame (stopwatches, 60fps counters): render plain tabular-nums text
Feedback
SonnerOpinionated toast component with stacking, swipe to dismiss and promise toasts; ports for Vue, Svelte, Solid and Angular.confirming a background action finished away from where it started (Saved, Invite sent)
form validation errors: show them inline next to the field
Icons
LucideClean 24px stroke icons, one component per icon, the default set for shadcn/ui.app UI icons in a shadcn/ui or Base UI project (buttons, menus, sidebars)
brand or company logos: Lucide 1.x ships no brand icons, use simple-icons
Backgroundsalways
React Bits200+ free animated React components, text effects and backgrounds in JS/TS and CSS/Tailwind flavours.a memorable portfolio, event or launch page with split-text headlines and shader backgrounds
product UI or dashboards: use shadcn-ui; these are effects, not controls
3D
React Three FiberReact renderer for three.js: build 3D scenes as JSX components with hooks.interactive 3D hero objects in a React or Next.js landing page
a decorative gradient or noise background: use paper-shaders, no 3D stack needed
The plan your agent reads
For “landing page with a signup form, a pricing table and toasts” in Game UI: the plan tool's answer, word for word
look: Game UI (game-ui, neon family)
framework: react (assumed; pass framework)
build with every line below: run its install (shadcn init works in any React + Tailwind app and adds only components.json, lib/utils.ts and theme tokens), build its part with it (usage under it), then adapt it to the rules below. A hand-written stand-in for a listed part (a <details> for an Accordion) is a miss
component-kit (its parts for this page) -> shadcn-ui: Copy-in React components on Tailwind, built on Base UI, Radix or React Aria, plus a registry CLI. (look's own kit) | npx shadcn@latest init -b base -p nova && npx shadcn@latest add button card badge table input label | else: mantine, boardui
motion (presses, gestures, menus and entrances) -> motion: The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations. (look's pick) | npm i motion | else: gsap
feedback (toasts) -> sonner: progress of an async task the user can walk away from (toast.promise) | npm i sonner | else: dot-matrix
import { Toaster, toast } from 'sonner'
<Toaster position="bottom-right" />
<button onClick={() => toast('Invite sent', { action: { label: 'Undo', onClick: undoInvite } })}>Invite</button>
background (the Game UI look needs it) -> ogl: Minimal WebGL library (about a tenth of three.js) for custom shader effects. (look's pick) | npm i ogl | else: react-bits
import { Renderer, Program, Mesh, Triangle } from 'ogl'
const el = document.getElementById('bg')!
const renderer = new Renderer({ dpr: Math.min(devicePixelRatio, 2) })
const gl = renderer.gl
el.appendChild(gl.canvas)
renderer.setSize(el.clientWidth, el.clientHeight)
const program = new Program(gl, {
vertex: `attribute vec2 position; void main() { gl_Position = vec4(position, 0., 1.); }`,
fragment: `precision highp float; uniform float uTime; void main() { gl_FragColor = vec4(0.5 + 0.5 * sin(uTime + gl_FragCoord.xxy / 200.), 1.); }`,
uniforms: { uTime: { value: 0 } },
})
const mesh = new Mesh(gl, { geometry: new Triangle(gl), program })
requestAnimationFrame(function loop(t) { program.uniforms.uTime.value = t / 1000; renderer.render({ scene: mesh }); requestAnimationFrame(loop) })
icons (every icon on the page: one size and stroke, set once) -> lucide: Clean 24px stroke icons, one component per icon, the default set for shadcn/ui. (look's pick) | npm i lucide-react
import { LucideProvider, Search } from 'lucide-react'
<LucideProvider size={16} strokeWidth={1.5}>
<Search aria-hidden />
</LucideProvider>
done when: every package above is imported where its part is, and no listed part is hand-written
vs: Not pixel-art: modern menus and HUDs; for 8-bit game screens use pixel-art (8bitcn). Not cyberpunk: game chrome and readable stats, not dystopian mood. Not playful: a game's interface, not gamified streaks and badges.
type: Condensed uppercase display (Rajdhani, Oxanium, Teko, Barlow Condensed 700) for menus and headings at 0.04-0.1em tracking, tabular numerals for stats; body in Inter or Barlow at 15-16px.
colour: Dark ground #0b0f14, translucent panels rgba(12,18,26,.85), one team or brand accent (#ff4655, #00e0ff) for focus and selection; stat bars in fixed semantic colours (health red, mana blue, XP gold). Clipped corners via clip-path polygon and 1px accent borders.
motion: Focus slides or brackets snap to the selection (120-180ms), bars fill with ease-out while numbers roll, menu transitions 200-300ms. Keyboard and gamepad focus order first; sound off by default.
avoid: mouse-only menus; glow and scanlines on everything; tiny condensed caps for long text; colour-only status (add icons or patterns)
refs: name a real one first: the user's, else search Mobbin, Refero or Inspo (free) if connected, else Interface In Game interfaceingame.com, Arwes github.com or a DESIGN.md from styles.refero.design or devault.design, and say how to connect one (get references)
brief first: build every part it names before styling; the first screen shows the main content working, not an empty hero; at desktop width fill it (columns, a side panel), never a phone-width column in empty space
never, whatever the look: text under 4.5:1 contrast (on glass, over its lightest backdrop); a headline clipped or split mid-word at 390px; a font named, not loadedRules
- Type
- Condensed uppercase display (Rajdhani, Oxanium, Teko, Barlow Condensed 700) for menus and headings at 0.04-0.1em tracking, tabular numerals for stats; body in Inter or Barlow at 15-16px.
- Colour
- Dark ground #0b0f14, translucent panels rgba(12,18,26,.85), one team or brand accent (#ff4655, #00e0ff) for focus and selection; stat bars in fixed semantic colours (health red, mana blue, XP gold). Clipped corners via clip-path polygon and 1px accent borders.
- Motion
- Focus slides or brackets snap to the selection (120-180ms), bars fill with ease-out while numbers roll, menu transitions 200-300ms. Keyboard and gamepad focus order first; sound off by default.
Goes wrong when
- mouse-only menus
- glow and scanlines on everything
- tiny condensed caps for long text
- colour-only status (add icons or patterns)
Not to be confused with
- Pixel artmodern menus and HUDs; for 8-bit game screens use pixel-art (8bitcn).
- Cyberpunkgame chrome and readable stats, not dystopian mood.
- Playfula game's interface, not gamified streaks and badges.
Also in Neon / cyber
Brief words that land here
game ui · game menu · hud · fui · health bar · xp bar · mana bar · inventory screen · esports · game launcher · loadout







