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
104
Run
274
Strings
20
Components
4
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 · 887 bytes
<section>
  <h2>New at Ana &amp; Co</h2>
  <article class="card featured">
    <header>
      <h3>Tênis Azul</h3>
    </header>
    <p><span class="price">€89,00</span></p>
    <p class="muted">A canvas sneaker in deep blue, stitched sole, cotton laces. …</p>
  </article>
  <article class="card">
    <header>
      <h3>Bota &lt;Couro&gt;</h3>
    </header>
    <p><span class="price">€219,00</span></p>
    <p class="muted">Ankle boots in vegetable-tanned leather. Its name has a tag …</p>
  </article>
  <article class="card">
    <header>
      <h3>Sandália Rio</h3>
       <span data-m-270290e3 class="badge bad">Sold out</span>
    </header>
    <p><span class="price">€54,00</span></p>
    <p class="muted">Cork footbed, two straps, made for long walks by the water.</p>
  </article>
  <article class="card">
    <header>
      <h3>Mocassim Lã</h3>
    </header>
    <p><span class="price">€125,00</span></p>
    <p class="muted">A wool loafer for cold floors. Not on sale yet.</p>
  </article>
</section>
  • 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.