App UI kits › Respawn › Skill tree

Skill tree

Three branches on one plate; hold to unlock and the links draw to the skills it opens while your points roll down.

Skill tree 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 unlock, links that draw, respec with confirm.

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.

Skill tree props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRWPhotos
input'auto' | 'pad' | 'keys'
assetsstring
pointsnumber3)Skill points to spend (default 3).
holdMsnumber700)Hold time to learn a skill, in ms (default 700).
onOpen(to: string) => voidCalled with 'learn:<skill id>', 'respec', 'tab:<id>' or 'close'.

Methods on the ref

Use it in React

import RespawnSkills from './RespawnSkills';

<RespawnSkills />

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

More in Respawn

Good for: Game UI kit.