Elements
Primitives
Accent
Scheme
Backdrop motion
Elements

Primitives

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.

A drawn 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.
FruitKept
Apple3
Pear5
Quince1
Fig8
Total17
  • ul: an item
  • another
  • a third
  1. ol: first
  2. second
  3. 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.
What is this?
A link
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
Delete the draft?This is a plain dialog element with open=asking. The kit's Dialog and Sheet are built on it.

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.
aria-pressed, data-state, classset from state
disabled=lockeda boolean attribute with a value
readonlya lone word
for and idthe label ticks the box
On the page
<button aria-pressed="false" data-state="off" class="primitives-tool"> <input disabled> <input type="checkbox" id="primitives-tick"> not ticked
input value= and checkbox checked=A field given state (or a place inside it) writes back as you type. Anything computed is one-way.
value=draft
checked=done
value=person.nameinto a record
checked=person.admin
value=draft.toUpperCase()computed: shows, does not write
State
draft = "Oak door" done = false person = {"name":"Grace","admin":true}

Control flow in markup

The same words as in logic, with markup under them. What is under them is built and removed as the state changes.
if / else if / else
n = 2
else if n < 4: a few (2)
for … key= and indexWith key=, a row keeps its element (and what was typed in it) when the list is reordered. Without one, rows are keyed by position.
1Apple
2Pear
3Quince
4Fig
match and letmatch picks the arm whose value fits. let names a value for the nodes after it; if narrows a T? so its fields can be read.
match mode
Apple
Pear
Quince
Fig
let p = fruits.find(…)
Pear: 5 kept

Components

A component is declarations and markup under a name. A page uses it like a tag.
slot, positional text, optional propsChildren (and a text written after the name) appear where the component writes slot. A T? prop may be left out.
With children
These words are its slot. So is this link.
With a positional text
A text after the name goes to the slot too.
tone="accent"the optional prop, given or left out
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.
esc
Pages
StartStart
Buttons & badgesComponents
Cards & disclosureComponents
Dialogs & drawersComponents
Menus & commandsComponents
Dates & tablesComponents
ChartsComponents
Chart galleryComponents
FieldsComponents
ChoicesComponents
DisplayComponents
NavigationComponents
Popovers & sheetsComponents
MessagesChat & AI
Prompt inputChat & AI
Reasoning & toolsChat & AI
Developer partsChat & AI
ConversationChat & AI
Code artifactsChat & AI
VoiceChat & AI
Code blocksChat & AI
MarkdownChat & AI
EditorElements
TerminalElements
FlowElements
3D boxesElements
PaintElements
SurfaceElements
MediaElements
IconsElements
PrimitivesElements
SQLBatteries
StorageBatteries
Net & resourcesBatteries
Crypto & bytesBatteries
ZipBatteries
TablesBatteries
PDFBatteries
TimeBatteries
ImagesBatteries
ScanBatteries
Video & audioBatteries
SearchBatteries
SyntaxBatteries
PatternsBatteries
NotifyBatteries
ShareBatteries
State & logicLanguage
WorkersLanguage
Events & elementsLanguage
StylingLanguage
RoutesLanguage
ShortcutsLanguage
Long listsLanguage
Failures & tryLanguage
Back endBack end
Models & writesBack end
Rules & failuresBack end
Jobs & schedulesBack end
Running itBack end
ExtensionsBack end
AIBack end
AnalyticsBack end
AboutAbout
↑↓move
↵open
676 places · ranked by BM25