🧳 Trip planner
A small app made of input widgets: every control below writes to an input cell, and the cells that read it update at once.
Plan
Departure: 2026-12-20Activities: ['Hiking', 'Museums']
Notes for the booking: Window seat if possible. Vegetarian meal.Packing list
Packing list: ['Passport', 'Charger', 'Rain jacket']
3 items packed, 3 missing · departure in 33 days.
Still missing for your activities: Hiking boots, Water bottle, Student ID
Can't decide what to pack first?
Pick something for me: 0Start with: press the button
How it is built
| Widget | Type | Its input cell holds |
|---|---|---|
| List (add / remove) | list |
a list of strings: ["Passport", "Charger"] |
| Multiple choice | multiselect |
the ticked options: ["Hiking"] |
| Date | date |
a string: "2026-12-20" |
| Long text | textarea |
a string |
| Button | button |
how often it was clicked: 3 |
Insert one with Insert → Input widget (pick the type next to it), or show an input cell as a widget in the grid: inspector → Show rendered in the grid → Widget.
A button counts clicks: pick reads pick_for_me, so it runs again on every click. An
effect that reads a button's cell is how a click does something (send, save, export).
Widget reference: anywidget is the way to go beyond these built-in controls (see the anywidget demo example).