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
81
Run
137
Strings
20
Components
2
Extracted CSS · 353 bytes
.badge[data-m-270290e3]{display: inline-block;margin-inline-start: 6px;padding: 1px 8px;border: 1px solid currentColor;border-radius: 99px;font-size: 12px;font-weight: 600;color: var(--kit-muted);}.badge.ok[data-m-270290e3]{ color: var(--kit-ok) }.badge.warn[data-m-270290e3]{ color: var(--kit-warn) }.badge.bad[data-m-270290e3]{ color: var(--kit-bad) }
The HTML it rendered · 419 bytes
<article class="shop">
  <h1>Ana &amp; Co</h1>
  <p class="muted">&lt;b&gt;Shoes&lt;/b&gt; made by hand in Porto</p>
  <ul>
    <li><b>Tênis Azul</b> · <span class="price">€89,00</span></li>
    <li><b>Bota &lt;Couro&gt;</b> · <span class="price">€219,00</span></li>
    <li><b>Sandália Rio</b> · <span class="price">€54,00</span><span data-m-270290e3 class="badge bad">Sold out</span></li>
  </ul>
  <p>2 items in your cart</p>
</article>
  • 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.