Shell
Shell is the main three-slot layout primitive for application screens.
Smallest example
let app = Shell::new()
.header(StatusBar::new("ansiq · ready").build())
.body(Paragraph::new("Main area").build())
.footer(Input::new().placeholder("Type here").build())
.build();Use Shell when
- you want a stable header, body, and footer
- the body may change while header/footer stay pinned
- you are building monitors, explorers, or session UIs
Key builder methods
Shell::new().header(...).body(...).footer(...).style(...)
Important note
Shell is intentionally a three-slot primitive: header, body, footer.
Where to see it in examples
- Activity Monitor: a fixed monitor shell
- OpenAPI Explorer: a browser shell around three panes
Last updated on
