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

Table

Bounded tabular data: muted header, hairline rows, widget cells.

For the comparison-shaped data a screen actually shows. Cells are arbitrary widgets (Table) or plain strings (TableText); column weights via Widths. Long collections belong in ListView.

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 table

Usage

open demo ↗

Actions

A quiet menu per row — a ghost trigger aligned to the row's end, its panel end-aligned so it stays on screen.

open demo ↗

API

OptionTypeDescription
Widths[]float32Per-column flex weights; nil = equal.
Footer[]stringA final emphasized row (totals) above the caption.
CaptionstringMuted caption under the table.

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.