Chips
Link chips and filter chips over a screen param.
Filter chips
Show code
use zeyn::prelude::*;
use zeyn::ui::SearchParams;
pub fn overview(_ctx: &Ctx) -> Node {
Chips::filter("Search the catalog", crate::catalog_home, |values| {
search(values.first().copied().unwrap_or(""))
})
.option("grid", "Grids")
.option("card", "Cards")
.option("form", "Forms")
.into()
}