Game UI kit

Game menus are used with a controller as often as a mouse. Focus has to be clear, the button prompts have to match the device in your hands, and settings such as subtitles and key bindings have to be easy to find.

Respawn is eight screens drawn at 1920 × 1080 inside a thin-bezel monitor and scaled to fit, for Saltreach, an original salvage game on a drowned coast. Everything works from a controller through the Gamepad API, the keyboard or a pointer, and the button prompts follow the last device you used, drawn generically. One focus engine and one save file run every screen, and one tide runs the world: the HUD carries a tide ribbon, quests and saves know the next low-water window, and the loading screen gives the forecast. The HUD has a compass with the tracked objective, health, stamina and air, a hotbar and hold-to-salvage on a ring that fills while you hold. The inventory is a grid you drag on, with items that spring into their cell, swap, stack and compare against what you wear, and a weight limit that warns. The skill tree unlocks with a hold, and the links draw to the skills it opens while the points roll down. Also: a title menu that shows the focused save on its own backdrop, a quest journal that sets what the HUD tracks, a pause menu with save-over confirmation, settings with live subtitle and colour-filter previews and key rebinding, and a loading screen with the place name, a tip and the tide.

The pack

What a good one needs

Questions

Does it work with a game controller?

Yes. It reads controllers through the Gamepad API, and the keyboard and a pointer work too.

Does it need any npm packages?

No. It has no dependencies.

How much does it cost?

Respawn is $5, paid once for the whole pack.

Which frameworks are included?

React (TypeScript), Next.js App Router, Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion. React, Vue and HTML are each a thin wrapper over one framework-free core, so they look and move the same. The Next.js version is the React component marked as a client component, with an app/page.tsx example. The Tailwind version adds the pack colours as Tailwind theme tokens, so you place, size and recolour it with utility classes. The Motion version wraps it in a motion.div so you can animate it in, out and on scroll with Motion props; the motion inside still runs on its own engine. Most packs need no npm packages; the 3D ones use Three.js.

Can I use it in client and commercial projects?

Yes. Every pack can be used in unlimited personal and commercial projects, including client work. Paid packs cannot be resold or redistributed as a component library, template or UI kit; free packs are open source under the MIT License, so you may share them too.

Related