Skip to content

Split

Two panes with a handle that resizes them.

Example

List

Drag the handle or use the arrow keys.

Details

Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    Split::new(
        Card::new()
            .title("List")
            .add(Paragraph::new("Drag the handle or use the arrow keys.")),
        Card::new().title("Details"),
    )
    .into()
}