Pane
Pane is a higher-level framed section. It is a good default when you want a title and several children without configuring Block yourself.
Smallest example
let details = Pane::new()
.title("Details")
.child(Paragraph::new("Selected process").build())
.build();Use Pane when
- you want a quick titled section
- the frame style can stay conventional
- you are composing dashboards or split panes
Key builder methods
Pane::new().title(...).child(...),.children(...).layout(...)
Common combinations
Pane + Tablefor list/detail viewsPane + Paragraphfor inspector panels
Last updated on
