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

Progress

A determinate bar in the brand solid; negative value sweeps indeterminate.

value is clamped to [0, 1]; pass a negative value for the indeterminate sweep (self-invalidating — mount only while in flight).

Installation

Use the module import (the default), or own the source: lotusui add vendors the component into your app and lotusui update keeps the copy mergeable — see Registry.

Go
go get github.com/ikaito-com/lotusui

# or vendor the source into your app:
go run github.com/ikaito-com/lotusui/cmd/lotusui add progress

Usage

open demo ↗

Indeterminate

open demo ↗

Label

A label row above the bar is composition.

open demo ↗

API

OptionTypeDescription
valuefloat32Clamped to [0, 1]; negative = the indeterminate sweep.

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.