Unity UI Toolkit

Create and style Unity UI Toolkit interfaces with UXML, USS, and C#.

3|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Totes-MickGOATs/mcgoats-game-template --skill unity-ui-toolkit-totes-mickgoats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Unity UI Toolkit
Source: https://github.com/Totes-MickGOATs/mcgoats-game-template/tree/main/engine/unity/skills/unity-ui-toolkit
Command: npx skills add https://github.com/Totes-MickGOATs/mcgoats-game-template --skill unity-ui-toolkit-totes-mickgoats

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers leverage Unity's UI Toolkit for creating and styling user interfaces in Unity projects, offering a more modern and efficient alternative to UGUI for many use cases.

Core Features & Use Cases

  • Declarative UI Structure: Define UI layouts using UXML (similar to HTML).
  • CSS-like Styling: Style UIs with USS (Unity Style Sheets), supporting variables, pseudo-states, and transitions.
  • Runtime Integration: Connect UXML/USS to C# scripts for dynamic behavior and data binding.
  • Efficient List Rendering: Utilize ListView for performant display of large datasets.
  • Custom Controls: Create reusable UI components.
  • Use Case: Design and implement a game's main menu with dynamic buttons, a settings panel, and responsive layout using UXML, USS, and C# scripting.

Quick Start

Use the Unity UI Toolkit skill to create a basic main menu layout with a play button and a quit button using UXML and USS.

Frequently Asked Questions about Unity UI Toolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Unity game menu using UXML and USS?

Unity UI Toolkit builds game menus by defining declarative UI structure in UXML and applying CSS-like styling with USS. This framework separates layout from styling, enabling efficient creation of responsive main menus and settings panels.

What is the best way to style a Unity HUD with web technologies?

Styling a Unity HUD is done using USS (Unity Style Sheets), which functions similarly to CSS for web development. USS supports variables, pseudo-states, and transitions to efficiently style game interfaces without manual pixel placement.

How does C# data binding work with Unity UI Toolkit?

C# data binding in Unity UI Toolkit connects UXML and USS structures to C# scripts for dynamic runtime behavior. This integration allows developers to manipulate UI elements, manage logic, and update interface states directly from code.

Can I create reusable custom controls in Unity UI Toolkit?

Yes, you can create reusable custom controls in Unity UI Toolkit. The framework supports custom component creation, allowing developers to build encapsulated UI elements that can be reused across different game menus, HUDs, and editor tools.

Does Unity UI Toolkit support responsive design and large datasets?

Unity UI Toolkit supports responsive design principles for adaptable layouts and utilizes the ListView component for efficient rendering of large datasets. This ensures performant display when handling extensive lists of data in game interfaces.

When should I choose Unity UI Toolkit over UGUI for editor tools?

You should choose Unity UI Toolkit over UGUI when developing editor tools or modern game interfaces requiring web-like styling. It offers a more efficient alternative for declarative UI structure and CSS-like styling compared to UGUI.