Radio
radio · Controls · All components
Radio button with label.

board
screen custom width=380 height=230
radio "Selected" checked
radio "Not selected"
radio "Not selected"
text "Side by side: put them in a row" sm muted
stack row gap=20
radio "Standard" checked
radio "Express"
radio "Pickup"Writing it
- A quoted string sets label:
radio "…". checkedanduncheckedset whether it's checked.- Anything else is written
key=value. - Has no children.
Props
| Prop | Values | Notes |
|---|---|---|
label (main text) |
string | |
checked |
boolean |
tsquare 0.9.0 · View this page on GitHub
tsquare