tawasuyu

tawasuyu/llimphi

Sovereign retained-mode GPU UI framework in Rust (wgpu+vello+taffy+parley), Elm loop, 40+ widgets.

Rust 229TOML 101Markdown 82Shell 24052 Sutichaykuna

⎇ main widgets/segmented/README.md Markdown · 14 siq'ikuna · 423 B Ñawpa willay ch'uya

chore: refresco desde el monorepo — 27 crates nuevos (anim, lottie, svg, mesh, image, layer, test, wire-view, widgets rag-sidebar/router/lazy-list/rive-button) y sync de los 95 existentes 93253cc22 · Sergio ·

1# llimphi-widget-segmented
2
3Mutually exclusive option control.
4
5N horizontal options with ONE active. The iOS/macOS pattern for radio-style
6alternatives when there are few (2–5) and they fit on a line. If there are more,
7use `tabs` or a dropdown.
8
9Render-only: the app keeps `selected: usize` in the model and dispatches
10`Msg::SelectSegment(usize)` on click.
11
12---
13
14Part of **llimphi** — see [llimphi](../../README.md).

README.md

llimphi-widget-segmented

Mutually exclusive option control.

N horizontal options with ONE active. The iOS/macOS pattern for radio-style alternatives when there are few (2–5) and they fit on a line. If there are more, use tabs or a dropdown.

Render-only: the app keeps selected: usize in the model and dispatches Msg::SelectSegment(usize) on click.


Part of llimphi — see llimphi.