lotusui
A Go design system for desktop and mobile — one codebase, native apps. Web when you want it.
GitHub

Typography

A fixed label scale in DM Sans — hierarchy from size and color, not bold shouting.

Every piece of text uses one of seven named styles. The scale is deliberately small: one hero per screen, semibold only for titles, and quiet grays doing the hierarchy work.

The scale

Each helper returns a material.LabelStyle, so call .Layout(gtx) — or pass .Layout where a widget is expected. Sp(th, ratio) derives any further size from the one base instead of scattering magic numbers.

open demo ↗

lotusui is a Go design system for native desktop and mobile — and the web when you want it. Docs demos are the real components (WebAssembly) — one gallery app, each Preview an iframe addressed by URL hash.