Skip to main content

Module elements

Module elements 

Source
Expand description

Constructors for the built-in elements, one per tag the ui! macro understands.

Functionsยง

button
A push button. Text children become its label.
checkbox
A checkbox: a check element followed by any children. Takes checked.
column
Lays children out top to bottom.
input
A single-line text field. Takes value and placeholder.
label
A line of text. Takes a text attribute or a text child.
panel
A column meant to be framed by the theme.
row
Lays children out left to right.
separator
A thin line between things; the theme gives it a size and colour.
spacer
An empty element that grows to take up spare room, pushing what follows it to the far end.