← All examplesINTERACTIVE ZIDOM LAB

Change it.
See it happen.

Explore real Zidom reactive components. Switch features, interact with the preview, and inspect the actual syntax-highlighted TSX beside it. These examples are read-only; use Copy to take the code into your own project.

Client-side demos3 live features@zidomjs beta
Live · Zidom runtime
Live preview / Signals

Loading interactive demo…

Edit a number and watch just its bindings change.

View detailed example ↗
zidom / playgroundSOURCE
counter.tsx
src›demos›counter.tsx
counter.tsx
●  Zidom
import { signal, computed } from '@zidomjs/core';export default function CounterDemo() {  const count = signal(0);  const doubled = computed(() => count.value * 2);  return (    <div className="example-card">      <p>Click to update a single bound text node.</p>      <div className="demo-number">{count}</div>      <p>        Computed double: <strong>{doubled}</strong>      </p>      <div className="demo-actions">        <button onClick={() => count.value--}>−</button>        <button onClick={() => (count.value = 0)}>Reset</button>        <button onClick={() => count.value++}>+</button>      </div>    </div>  );}
● zidom / counterTSX · UTF-8 · Read-only
Try a demo, then copy its source to get started.Getting started ↗

Ready for a real application?

Explore routing, forms, queries and more in the full example gallery.

Explore all examples ↗