Components
Skill Tree
GameCN registry component for RPG/action interfaces.
Skill Tree
skill-tree
ProgressionBetacomponent
A branching progression tree with locked, available, active, and mastered nodes.
npx shadcn@latest add @gamecn/skill-treeLive Preview
Rendered with the component style selected in the top-right selector.
Frame
Scale100%
Examples
Basic setup, game-state usage, and customization paths.
Basic
Install Skill Tree and render it with the default GameCN treatment.
npx shadcn@latest add @gamecn/skill-treeimport { SkillTree } from '@/components/ui/skill-tree'Advanced
Use Skill Tree with richer game-state data such as variants, empty states, compact density, or critical states.
<SkillTree
className="max-w-md"
/>Customization
Swap artwork, tune tokens, and wire the installed copy to your live game state.
<SkillTree
iconSrc="/game-assets/skill-tree.png"
/>