tawasuyu

tawasuyu/llimphi

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

Rust 614Markdown 274TOML 149RON 310606 Definitions

⎇ main widgets/rating/README.md Markdown · 14 lines · 406 B History raw

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.