Sigil

Key-value grid

A two-column key/value grid.

Keys and values can be reactive.

GUITUIRuns in the browserkv_grid

Preview

Key-value grid, Default, light themeKey-value grid, Default, dark theme

Usage example

fn kv_grid_demo() -> NodeBuilder {    kv_grid([("Host", "wgpu"), ("Backend", "metal")])}
fn kv_grid_demo() -> NodeBuilder {  kv_grid([    ("Host", "wgpu"),    ("Backend", "metal"),  ])}

API

NameSignaturePurpose
kv_gridfn kv_grid(rows: impl IntoIterator<Item = (impl Into<TextContent>, impl Into<TextContent>)>) -> NodeBuilderA two-column key/value grid. Keys and values can be reactive.