The tags everything else is made of: Mote's own eight, HTML's by their own names, the floating parts, attributes, bindings, control flow in markup, and components.
Tags
A line is a tag, an optional text, then name=value pairs; children are indented under it.
view, box, row, column, gridview and box are plain blocks; row and column are flex; grid is grid. Styles are CSS properties by name.
row
1
2
3
column
1
2
grid
1
2
3
4
5
6
view and box
view: a block
box: the same
text, link, imageText is a string, a template or a name. HTML's text tags keep their meaning.
A heading (h3)
A template: Ada is 36
A paragraph (p) with strong, emphasis, code and mark.
image "primitives-mark.svg": a file in assets/, checked when the app is built. The Media page has more.
HTML's own tags
Any HTML tag works by its own name, with its own attributes. The kit's components are these, styled.
button, input, select, textareainput and change hand the handler the field's value: a number for number and range, a bool for a checkbox.
buttonpress
inputtext
type=number
type=range
type=color
type=date
type=password
type=checkbox
type=radio
select
textarea
The state they wrote
name "Ada" · age 36 · level 40 · ink #6d5efc · day 2026-11-15 · password •••• · agree true · size m · fruit pear · note 18 characters
details, table, ul, ol, blockquote, hrStructure tags, as the browser draws them and with a few styles.
details and summary: press to openWhat is under details shows only while it is open. The browser keeps the state.
Fruit
Kept
Apple
3
Pear
5
Quince
1
Fig
8
Total
17
ul: an item
another
a third
ol: first
second
third
blockquote: a mote is the thin shell around a seed.
Floating parts
popover, tip, toast and dialog live in the browser's top layer: nothing clips them.
popover placement=A panel beside the element it is under. Press a name: the panel opens on that side, and flips if the window is too close.
placement="top-start"Press outside or Escape to close.
placement="top"Press outside or Escape to close.
placement="top-end"Press outside or Escape to close.
placement="left-start"Press outside or Escape to close.
placement="bottom"Press outside or Escape to close.
placement="right-start"Press outside or Escape to close.
placement="left"Press outside or Escape to close.
placement="bottom-start"Press outside or Escape to close.
placement="right"Press outside or Escape to close.
placement="left-end"Press outside or Escape to close.
placement="bottom-end"Press outside or Escape to close.
placement="right-end"Press outside or Escape to close.
Last opened
none yet
popover open= and data-closeopen=flag opens it from state as well, and the flag is written back when it closes. A press on anything with data-close inside closes it.
State
popOpen = false · picked: nothing yet
tipA line under any element: its words show on hover and on keyboard focus.
toast(…)A note in the corner for four seconds: a line, a second line if wanted, and "error" for one that went wrong.
0 shown so far. They stack in the corner and leave by themselves.
dialog open=The browser's modal dialog, plain: Escape and a press outside close it, and the flag is written back.
asking = false
not asked yet
Attributes and bindings
aria-*, data-*, boolean attributes, class, for, idHTML attributes by their own names. A lone word is a boolean attribute; with a value it follows the value.
Handler props, props written back, fall-throughA prop the component assigns writes the page's state. A handler prop is called like a fn. Anything else lands on its first element.
Stepper value=qtystep left out: 1
4
Stepper value=qty step=5
4
The page's state
qty = 4 · press was called 0 times
Fall-throughid, press and a style given to a component
Press a pill: the handler given outside runs on its button.