tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 229TOML 101Markdown 82Shell 24052 Definiciones

⎇ main widgets/scaffold/README.md Markdown · 29 líneas · 1.2 KB Historia crudo

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1# llimphi-widget-scaffold
2
3Page chassis.
4
5Inspired by Flutter's `Scaffold` / Material 3 layout. It composes a common page
6layout:
7
8```text
9┌──────────────────────────────┐
10│  app bar (optional)          │  ← 48 px
11├──────────────────────────────┤
12│                              │
13│   body (flex-grow 1)         │
14│                          ╭──╮│
15│                          │+ ││  ← optional FAB (bottom-end)
16│                          ╰──╯│
17├──────────────────────────────┤
18│  bottom bar (optional)       │  ← 56 px
19└──────────────────────────────┘
20```
21
22Side drawers are offered as **overlays** (the app passes them through
23`view_overlay`, not through the body — that way they do not steal layout while
24closed). This widget only contributes the central chassis; the drawers are the
25responsibility of whoever opens them.
26
27---
28
29Part of **llimphi** — see [llimphi](../../README.md).

README.md

llimphi-widget-scaffold

Page chassis.

Inspired by Flutter's Scaffold / Material 3 layout. It composes a common page layout:

┌──────────────────────────────┐
│  app bar (optional)          │  ← 48 px
├──────────────────────────────┤
│                              │
│   body (flex-grow 1)         │
│                          ╭──╮│
│                          │+ ││  ← optional FAB (bottom-end)
│                          ╰──╯│
├──────────────────────────────┤
│  bottom bar (optional)       │  ← 56 px
└──────────────────────────────┘

Side drawers are offered as overlays (the app passes them through view_overlay, not through the body — that way they do not steal layout while closed). This widget only contributes the central chassis; the drawers are the responsibility of whoever opens them.


Part of llimphi — see llimphi.