A utility USS framework for Unity's UI Toolkit with all the lessons from web-dev. Build reusable UI with components missing from Unity like gradients, and box shadows with theme support.
Familiar for countless roles. Built for Unity's UI Toolkit.
Doddle USS is built specifically for Unity with all the loved lessons and inspiration from popular CSS frameworks like Tailwind CSS and Bootstrap. This makes getting started with Doddle USS easy for contributors from all aspects of development.
We take an opinionated approach to defining UI which allows extensive control of individual properties of specific UI such as border colour, or the look and feel of the entire library like default background colour all at once by only changing only a few variables.
Effortlessly support light mode, dark mode, or holiday theme updates by simply overriding Doddle's default theme and customizing the theme content. No need to change, and dig in every UXML document.
Doddle USS contains utility classes for every UI Toolkit property all in one style sheet allowing you to build your UI without an ever-growing list of custom classes.
Doddle USS also contains a small, but growing library of extension methods, entry/exit/hover/loop transitions, and templates that can be used to build your UI, quicker, and easier.
Take advantage of custom controls like box shadows, gradients, toggles, and more that are missing from Unity's UI Toolkit.
Build UI with as little or as much adoption as desired.
Transition Library
Use our growing library of preset hover/entry/exit/loop transitions. Customize the values without ever having to touch the CSS classes.
Box Shadows
Use our templates, or build your own box shadows/overlays to add those impactful details to your UI.
Gradients
Do more with gradients than just Unity's built in text gradient. Add small details to make backgrounds, and UI look polished.
Templates
Rapidly assemble new UI with our library of USS classes, and UXML templates. Doesn't fit what you want? Change the entire library's look and feel with just a few variables.
Speed up the design to implementation workflow. Import your Figma designs directly into Unity.
Export UI designs from Figma directly to UXML while maintaining element names, and applying Doddle USS utility classes. Unlike other plugins, inline styles will be ignored, keeping your templates, clean, and maintainable.
Import all Doddle USS utility classes as local Figma variables, scan your current document and replace all hardcoded values with local Figma variables matching the variable values.