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

Freshness

The canonical way to show Law 7: a small label plus a relative time ("Last sync · 2h ago"). Every number derived from a scan, sync or extraction carries one.

Notes

  • <Fresh label time icon /> renders a .chip; inside a ScreenHead meta strip its border is dropped. In the Solarus app it reads as a plain line beside the value ("Measured · 6h ago").
  • Use it in a Place header.
  • Consumer provides label, time, optional icon (default clock).

Code

// React · window.Solarus
<Fresh icon label time />