USS-styled variant of the built-in UnityEngine.UIElements.Slider — no custom subclass. Three independent class families (fill, dragger, focus) let you tint each piece independently.

Slider Component

Setup

html
<engine:Slider label="Slider" value="42" high-value="100" show-input-field="true" inverted="false" fill="true" class="fill-pink dragger-teal focus-teal w-full" />

CSS classes

Three independent class families, each prefixed by purpose:

Class familyFormatTargets
Fillfill-{color}The filled portion of the track.
Draggerdragger-{color}The thumb.
Focusfocus-{color}The focus outline / hover ring.

Available color names: see colors.

html
<engine:Slider class="fill-pink dragger-teal focus-teal" />

See also

  • Colors — full color palette

Settings

Theme

Light

Contrast

Material

Dark

Dim

Material Dark

System

Sidebar(Light & Contrast only)

Light
Dark

Font Family

DM Sans

Wix

Inclusive Sans

AR One Sans

Direction

LTR
RTL