Solarus Design system
Updated · 20 Nov 2026 solarus.run
Base · Feedback

Progress bar

Thin bars for progress and distribution: <Bar pct tone /> and <StackBar parts height />.

Notes

  • Bar: a 5px track (.bar-wrap, rgba(0,0,0,.08)) with an ink fill; tone red · amber · green recolours the fill by status meaning.
  • StackBar: segments in proportion (parts: [{label, v, color}], 2px gaps, 10px tall by default), each with a label · v title. Colour alone never carries the bucket: print the counts next to it.
  • Not used in the Solarus app. Trajectory, the graduated scale with its accent part, stands in for it.

Code

// React · window.Solarus
<Bar pct tone />
<StackBar parts />