Motus

Playground

A template and its data, compiled and rendered by the server as you type, under a store's rules.

Template 64 KB at most
The preview follows your typing: the form is sent as you type (submit-on), the page answered with what changed. No script of the site's.
Preview · sandboxed, no scripts200

Compiled and rendered: no problems.

Instructions
37
Run
14
Strings
11
Components
2
Extracted CSS · 1378 bytes
:root {
    color-scheme: light dark;
    --kit-ink: #1f1d1a;
    --kit-muted: #6f6a60;
    --kit-line: #e5dfd4;
    --kit-bg: #fffdf9;
    --kit-accent: #c2410c;
    --kit-ok: #2f7d46;
    --kit-warn: #9a5b00;
    --kit-bad: #b42318;
  }@media (prefers-color-scheme: dark) {
    :root { --kit-ink: #ece6da; --kit-muted: #a59d8f; --kit-line: #34302a; --kit-bg: #171512; --kit-accent: #ff8a5c; --kit-ok: #6fcf8e; --kit-warn: #f2b45c; --kit-bad: #ff8b80; }
  }body { margin: 0; padding: 18px; font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--kit-ink); background: var(--kit-bg); }h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }a { color: var(--kit-accent); }code { font: 13px ui-monospace, Menlo, monospace; }table { border-collapse: collapse; }td, th { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--kit-line); vertical-align: top; }input, button, textarea { font: inherit; color: inherit; }input, textarea { padding: 6px 8px; border: 1px solid var(--kit-line); border-radius: 6px; background: transparent; }button { padding: 6px 12px; border: 1px solid var(--kit-line); border-radius: 6px; background: transparent; cursor: pointer; }.muted { color: var(--kit-muted); }jw-skel{display:inline-block;min-width:3em;height:.85em;border-radius:4px;background:currentColor;opacity:.12;vertical-align:middle}jw-skel.w{min-width:8em}
The HTML it rendered · 1598 bytes
<!doctype html>
<html lang="en">
  <head>
    <title>Field Notes</title>
    <style>:root {
    color-scheme: light dark;
    --kit-ink: #1f1d1a;
    --kit-muted: #6f6a60;
    --kit-line: #e5dfd4;
    --kit-bg: #fffdf9;
    --kit-accent: #c2410c;
    --kit-ok: #2f7d46;
    --kit-warn: #9a5b00;
    --kit-bad: #b42318;
  }@media (prefers-color-scheme: dark) {
    :root { --kit-ink: #ece6da; --kit-muted: #a59d8f; --kit-line: #34302a; --kit-bg: #171512; --kit-accent: #ff8a5c; --kit-ok: #6fcf8e; --kit-warn: #f2b45c; --kit-bad: #ff8b80; }
  }body { margin: 0; padding: 18px; font: 15px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--kit-ink); background: var(--kit-bg); }h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; }a { color: var(--kit-accent); }code { font: 13px ui-monospace, Menlo, monospace; }table { border-collapse: collapse; }td, th { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--kit-line); vertical-align: top; }input, button, textarea { font: inherit; color: inherit; }input, textarea { padding: 6px 8px; border: 1px solid var(--kit-line); border-radius: 6px; background: transparent; }button { padding: 6px 12px; border: 1px solid var(--kit-line); border-radius: 6px; background: transparent; cursor: pointer; }.muted { color: var(--kit-muted); }jw-skel{display:inline-block;min-width:3em;height:.85em;border-radius:4px;background:currentColor;opacity:.12;vertical-align:middle}jw-skel.w{min-width:8em}</style>
  </head>
  <body>
    <h1>Field Notes</h1>
    <p>Writes about tools that stay out of the way.</p>
    <p><a href="/about">About the author</a></p>
  </body>
</html>
  • Compiled as a store's template: no <script>, no event handlers, no frames, forms post to the site, CSS checked.
  • Rendered within limits: 250,000 instructions, 512 KB of output, components 32 deep. The template 64 KB at most, the data 32 KB.
  • Yours to use: the kit's <Badge> and <Price>, the actions Comments.add and Comments.erase, Post_Params for a route's params.