HTML elements and controls
Checked against c430ebe on 2026-11-10. The files it covers are unchanged since.
niso implements HTML’s elements with their usual meaning, parsing, and
default style. Every element interface, with its members and their C
functions, is in the Web API reference under
HTML elements (generated from idl/).
These elements are drawn as native controls while their appearance is
auto:
| Element | Apple platforms | Android | Linux (iced) |
|---|---|---|---|
<input type="checkbox" switch> |
Toggle |
Switch |
toggler |
<input type="range"> |
Slider |
Slider |
slider |
<progress> |
ProgressView |
linear progress indicator | progress bar |
<button> |
button | Button |
button |
<input> (text, search, email, url, tel, password, number), <textarea> |
TextField, TextEditor |
text field | text input, text editor |
radio group (<fieldset> or role="radiogroup") |
Picker |
button group or radio rows | radio buttons |
Everything else, including <select>, checkboxes, plain radio buttons and
date inputs, is drawn as a CSS box for now. Sizes, styling and the rules for
radio groups: Native controls.