ui-toolkit

Guide Unity UI Toolkit implementation with UXML/USS and visual tree navigation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/pnarimani/Siege --skill ui-toolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-toolkit
Source: https://github.com/pnarimani/Siege/tree/main/skills/ui-toolkit
Command: npx skills add https://github.com/pnarimani/Siege --skill ui-toolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AI agents and developers need a clear, self-contained reference to learn and implement Unity UI Toolkit, reducing ramp-up time and misconfigurations.

Core Features & Use Cases

  • UXML/USS markup, visual tree navigation, and query patterns
  • Data binding, ListView/TreeView usage, localization integration
  • Custom controls, event handling, and editor-runtime workflows
  • Real-world usage: scaffold in-editor panels or runtime UI with consistent styling

Quick Start

Create a minimal scene with a UIDocument and a simple panel, then wire up a Button to a click handler.

Frequently Asked Questions about ui-toolkit

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

FAQPage Schema
How do I build runtime UI in Unity using UXML and USS?

Unity UI Toolkit uses UXML for structure and USS for styling. You create a UIDocument, define the visual tree in UXML, apply USS styles, and query elements via C# to wire up event handlers.

What is the best way to set up data binding in Unity UI Toolkit?

Data binding in Unity UI Toolkit connects visual elements to data sources. You define bindings in UXML or C# to automatically synchronize properties between your data model and the UI visual tree.

Can I use Unity UI Toolkit for both editor windows and runtime panels?

Yes, Unity UI Toolkit supports both editor and runtime workflows. You can scaffold in-editor panels for tools or build runtime UI for games using the same UXML/USS markup and visual tree navigation patterns.

How do I populate a ListView with dynamic data in Unity UI Toolkit?

ListView in Unity UI Toolkit displays dynamic data by binding a collection to the visual element. You configure item templates in UXML and use C# to manage data binding and item generation.

Does Unity UI Toolkit support localization integration?

Yes, Unity UI Toolkit supports localization. You can integrate localized strings into your UXML panels and use binding to dynamically update text elements based on the selected locale.

How do I create custom controls in Unity UI Toolkit?

Custom controls in Unity UI Toolkit are created by extending VisualElement in C#. You define custom properties, implement rendering logic, and expose them to UXML for reusable UI components.