docs / demos
gru · 0.7.0
Demo index
35 curated scenes (including Demo Index). Starter scene: Counter Demo.
Run go run -tags grudemo . from the repo root.
Keys
- Tab · next scene
- F12 · Inspector
- F11 · perf overlay (optional)
- Footer Scenes · open Demo Index
Catalog
| # | Title | Purpose |
|---|---|---|
| 1 | Demo Index | Scene picker |
| 2 | Desktop Shell (Go) | MenuBar + nav rail + main |
| 3 | App Shell (Go) | AppBar + scroll body |
| 4 | Settings · Desktop (Go) | Desktop settings rows |
| 5 | List Pane (Go) | Sidebar list + detail |
| 6 | Filters (Go) | Filter chips / control row |
| 7 | Form Demo | Form fields + validation layout |
| 8 | Card Nest (Go) | Nested Card / callout / code |
| 9 | Responsive - Breakpoints - Grid | Breakpoints + grid reflow |
| 10 | Settings (Go) | Mobile settings in App Shell |
| 11 | Timeline (Go) | Timeline list composition |
| 12 | Counter Demo | Signals + button (starter) |
| 13 | Theme v2 Foundation | Theme v2 variants |
| 14 | Gallery (.gru) | DocumentSpec / .gru load |
| 15-33 | Batches 1-25 | Overlays, forms, data, controls |
| 34 | WebView Module Demo | Embedded WebView (webview2) |
| 35 | WebView Focus Handoff | Focus handoff with WebView |
Full row-by-row titles: DEMO_INDEX.md.
Standalone samples
go run ./cmd/hello
go run -tags webview2 ./cmd/webviewhello
Next: Widgets · Composition · Start