docs / widgets
gru · 0.7.0
Widgets
Interactive controls live in package ui. Learn them from runnable demos, then deepen with the GitHub encyclopedia.
How to explore
go run ./cmd/hello # Button + Card sample
go run -tags grudemo . # 35-scene catalog
go run -tags "grudemo,webview2" . # + live WebView demos
| Key | Action |
|---|---|
| Tab | Next scene |
| F12 | Widget Inspector |
| Footer Scenes | Open Demo Index scene |
Families (start here)
| Family | Open these scenes |
|---|---|
| Shells | Desktop Shell · App Shell · Settings · Desktop · List Pane |
| Surfaces | Card Nest · List Pane |
| Forms | Form Demo · DatePicker · field batches |
| Buttons & signals | Counter Demo |
| Overlays | Batch 1 Modal / Tooltip · Batch 7 Toast |
| Navigation | Accordion · Stepper · TabView |
| Search / filters | SearchBar · Filters |
| Data display | Timeline · Badge |
| Theme | Theme v2 Foundation |
| WebView | WebView Module · Focus Handoff |
| Document / .gru | Gallery (.gru) |
API narrative
Call-level docs (Document, Node, Mount, Signals, WebView API) live under
docs/api/.
Prefer go doc github.com/ledocorp/gru/ui or
pkgsite once the module indexes.
Full widget encyclopedia: docs/widgets/README.md. Scene list: Demo index.
Next: Demos · Composition · Start