Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: add CheckboxField and use it for the issue report toggle and the account delete option

This commit is contained in:
iris 2026-10-21 23:49:57 +02:00 • committed by mara
commit acf82beba3
7 changed files with 105 additions and 30 deletions

View file

@ -150,9 +150,11 @@ that needs it, not after a contributor styles it inline and leaves it
for later — a page reaching for a component that's already there has ready-made
blocks to build with, instead of the next contributor duplicating
ad-hoc styling that someone then has to hunt down and consolidate.
`Panel`/`Badge`/`Table`/`TextField`/`SelectField`/`Button` are the
primitives that exist; `/components` always has the current, complete
list — this doc won't try to keep a duplicate inventory in sync.
`Panel`/`Badge`/`Table`/`TextField`/`SelectField`/`CheckboxField`/`Button`
are the primitives that exist; `/components` always has the current, complete
list — this doc won't try to keep a duplicate inventory in sync. A yes/no
option in a form uses `CheckboxField`, which sizes its row like the other
fields, rather than a bare `<input type="checkbox">`.
**Every new `ui/` component gets a demo section on `/components` the
same day it lands** — no primitive without a place to see it. One