Language
Routes
Accent
Scheme
Backdrop motion
Language

Routes

A route shows its children while the address matches its pattern. Addresses live after the #, so any static host, and a file opened from disk, serves them. This page has real routes of its own under /language/routes.

Where the page is

route.pathThe current address, reactive: anything that reads it is drawn again when it changes.
route.path
/language/routes/earth
route.path.split("/")language › routes › earthroute.path.startsWith("/language")truein the address bar#/language/routes/earth
link, go(), back()link "About" href="/about" is an anchor to that address; go("/about") does the same from logic; back() is the browser's back.
link … href=other pages of the playground
go(…)from a handler
go(target)an address held in state
back()to wherever you were before

Patterns

These are real: watch the address bar.
route "/language/routes/:id"A part that starts with a colon takes whatever stands there, and is a string of that name in scope under the route. Pick a planet: the address changes, and the route below shows what it names.
route "/language/routes/:id" matched, with id = "earth"
Earthrock · 1 moon · a day of 24 hours
A group, and route "*"Routes in a row are one group: the first that matches is shown, and route "*" is anything else. This group knows two addresses by heart.
route "/language/routes/earth"
route "/language/routes/mars"
route "*"
Home.
What a route builds, it removesA route's children are built when it matches and built again when its :values change; their state, tasks and timers go with them. This page sits under such a route, so a task in it runs on every arrival.
1times this page has been built
the last addresses it was built for
/language/routes/earth
State declared inside the page starts afresh each time; the trail above is state at the top of the file.
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