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
98
Run
426
Strings
21
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 · 613 bytes
<ol>
  <li>
    <h3>1. Tênis Azul</h3>
    <span data-m-270290e3 class="badge ok">In stock</span><span>On sale</span><span title="4.6">★★★★☆</span>
  </li>
  <li>
    <h3>2. Bota &lt;Couro&gt;</h3>
    <span data-m-270290e3 class="badge warn">Only 2 left</span><span>On sale</span><span title="4.1">★★★★☆</span>
  </li>
  <li>
    <h3>3. Sandália Rio</h3>
    <span data-m-270290e3 class="badge bad">Sold out</span><span>On sale</span><span title="3.8">★★★☆☆</span>
  </li>
  <li>
    <h3>4. Mocassim Lã</h3>
    <span data-m-270290e3 class="badge ok">In stock</span><span>Coming soon</span><span title="4.9">★★★★☆</span>
  </li>
</ol>
  • 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.