
Luna provides a powerful progress bar system with smooth animations, multi-segment support, and indicator overlays.
| Component | Description |
|---|---|
| Progress Bar | Traditional horizontal/vertical bar with fill segments, overlay images, and icon support. |
| Radial Progress Bar | Circular progress indicator with arc rendering. Supports multi-segment displays (Overwatch-style). |
<Luna.ProgressBar name="health-bar" />var healthBar = root.Q<ProgressBar>("health-bar");
// Initialize
healthBar.InstantPositive = true;
healthBar.Progress[0].TargetValue = 1f;
healthBar.Indicator.TargetValue = 1f;
healthBar.PlayProgress();
healthBar.PlayIndicator();
healthBar.InstantPositive = false;
// Update value
healthBar.Progress[0].TargetValue = 0.5f;
healthBar.Indicator.TargetValue = 0.5f;
healthBar.UpdateProgressSegments();
healthBar.PlayProgress();
healthBar.PlayIndicator();For advanced customization and creating custom progress bar types, see the Architecture documentation.
Settings
Theme
Light
Contrast
Material
Dark
Dim
Material Dark
System
Sidebar(Light & Contrast only)
Font Family
DM Sans
Wix
Inclusive Sans
AR One Sans
Direction