USS-styled variant of the built-in UnityEngine.UIElements.Button — no custom subclass. Add the btn class plus modifiers to get Luna's design-system look. Combine size, color, and visual-style classes freely.

<engine:Button class="btn" />
<engine:Button class="btn btn-lg" />
<engine:Button class="btn red" />
<engine:Button class="btn btn-xl violet" />
<engine:Button class="btn btn-xl violet ghost" />
<engine:Button class="btn btn-xl violet masked" />
<engine:Button class="btn btn-xl violet shade" />
<engine:Button class="btn btn-xl violet outline" />| Class | Description |
|---|---|
btn | Required base class |
btn-sm | Small |
btn-lg | Large |
btn-xl | Extra-large |
Add a color name as a class (no value). Available palette: see colors.
<engine:Button class="btn teal" />| Class | Description |
|---|---|
ghost | Transparent background. Hover/focus: semi-transparent black background and the button-color class becomes the text color. |
masked | Transparent background. Hover/focus: button-color class becomes the background; text color stays. |
shade | Like ghost but the semi-transparent black background is always visible. Combine with ghost to also change text color on hover. |
outline | Border in the button-color class; text color matches the border. |
Button subclass with input-icon supportSettings
Theme
Light
Contrast
Material
Dark
Dim
Material Dark
System
Sidebar(Light & Contrast only)
Font Family
DM Sans
Wix
Inclusive Sans
AR One Sans
Direction