Preview

Typed so far

Click anything in the panel to select it. A new block lands inside whatever is selected.

def initial():
    return {"count": 0}

def view(state):
    return vstack([
        text("Count: " + str(state["count"]), size=22, weight="bold"),
        hstack([
            button("-", set={"count": state["count"] - 1}),
            button("+", set={"count": state["count"] + 1}),
        ]),
        button("Insert", insert=str(state["count"]), style="primary"),
    ])
Onto your phone
  1. Download the .clinkpanel file. On an iPhone it lands in Files.
  2. Open it. Clink stores it with a fresh id, so importing the same one twice never overwrites the first.
  3. Switch it on in Clink, then open it from the keyboard.

Nothing here leaves the browser. The file is written on this device, and no part of it is sent anywhere.

Panels ›