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

Button

Pill-shaped action: kind = primary (ink fill, ivory text) · outline (hairline, the default) · ghost (no border) · danger (red hairline and text) · ondark (ivory fill, only on contre-jour cards). size="sm" for tight rows.

Notes

  • One primary per context. Destructive actions are danger.
  • Leading glyph via icon (13px). Label 12.5px / 500.
  • Table trailing actions are links, not buttons.
  • Consumer provides: the label (children), onClick, optional icon, disabled.
  • Not used in the Solarus app: the kinds danger and ondark. Other products may use them.

Code

// React · window.Solarus
<Button kind size icon onClick disabled>label</Button>

/* HTML classes · bundle.css */
.btn