docs / demos
gru · 0.8.0
Demo index
40 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 | Batch 1 · Tooltip / TabView / Modal | Overlay + tabs + modal |
| 16 | Batch 2 · SearchBar | Search field |
| 17 | Batch 3 · Badge | Badge chip |
| 18 | Batch 3b · Accordion | Accordion sections |
| 19 | Batch 3 · DatePicker | Date picker |
| 20 | Batch 4 · Stepper | Stepper control |
| 21 | Batch 6 · DataTable | Data table |
| 22 | Batch 7 · Toast / Notification | Toasts + notification center |
| 23 | Batch 11 · DateRangePicker | Date range |
| 24 | Batch 12 · Rating | Star rating |
| 25 | Batch 13 · Pagination | Pagination control |
| 26 | Batch 14 · SegmentedControl | Segmented control |
| 27 | Batch 15 · ComboBox | Combo box |
| 28 | Batch 16 · SpinBox | Spin box |
| 29 | Batch 17 · Breadcrumbs | Path trail navigation |
| 30 | Batch 18 · ColorWell | Color swatch well |
| 31 | Batch 19 · Dropdown | Classic select dropdown |
| 32 | Batch 20 · RadioGroup | Radio group |
| 33 | Batch 21 · ListTile | List tiles in a surface |
| 34 | Batch 22 · Toggle | Toggle switch |
| 35 | Batch 23 · Checkbox | Checkbox |
| 36 | Batch 24 · Slider | Slider |
| 37 | Batch 25 · ProgressBar | Progress bar |
| 38 | Batch 26 · ColorPicker | HSV color picker |
| 39 | WebView Module Demo | Embedded WebView (webview2) |
| 40 | WebView Focus Handoff | Focus handoff + modal occlusion |
Canonical list: DEMO_INDEX.md.
Standalone samples
go run ./cmd/hello
go run -tags webview2 ./cmd/webviewhello
Next: Widgets · Composition · Start