App UI kits › Respawn › HUD

HUD

A compass with the tracked objective, health, stamina and air, a hotbar and the tide ribbon; hold to salvage and the ring fills, the wire rolls into the count and the quest ticks on.

HUD is a screen from Respawn, an app ui kit with 8 screens: A game interface kit on a 16:9 screen: title menu, HUD, inventory, skill tree, journal, pause, settings and loading, driven by a controller. Price: $5 for the whole pack.

Built with: hold-to-salvage ring, tide ribbon, low-air state.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

HUD props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRWPhotos
input'auto' | 'pad' | 'keys'
assetsstring
state'explore' | 'low'Start state: exploring, or with air low.
holdMsnumber900)Hold time for salvage, in ms (default 900).
onOpen(to: string) => voidCalled with 'journal' (menu button), 'pause' (back) or 'salvage:<item id>'.

Methods on the ref

Use it in React

import RespawnHud from './RespawnHud';

<RespawnHud />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Respawn

Good for: Game UI kit.