tawasuyu

tawasuyu/llimphi

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

Rust 660Markdown 302TOML 157RON 312382 Sutichaykuna

⎇ c5a232cf24788ab75a850ffe81eca5a7af50e2f8 widgets/rating/README.md Markdown · 14 siq'ikuna · 406 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-rating
2
3N clickable stars.
4
5Render: stars drawn by hand with `paint_with` (a 10-vertex polygon). The caller
6passes `value` (0..=max) and `max` (typically 5). Every star is clickable: it
7emits `on_change(idx + 1)`.
8
9Sober, not loud: inactive stars are `border` (grey), active ones `accent`.
10Configurable size, 18 px by default.
11
12---
13
14Part of **llimphi** — see [llimphi](../../README.md).

README.md

llimphi-widget-rating

N clickable stars.

Render: stars drawn by hand with paint_with (a 10-vertex polygon). The caller passes value (0..=max) and max (typically 5). Every star is clickable: it emits on_change(idx + 1).

Sober, not loud: inactive stars are border (grey), active ones accent. Configurable size, 18 px by default.


Part of llimphi — see llimphi.