Examples

Practical examples.
Live demos.

Click the tabs to switch between a live interactive demo and the source code.

● Live
Counter
Minimal counter demo: mutate state, call update(), and let dynamic text refresh.
0
COUNT
Counter.ts
● Live
Todo List
Add, complete, and delete tasks. Filter by all / active / done. Classic todo with Nuclo state.
No tasks yet.
0 of 0 remaining
TodoList.ts
● Live
Search Filter
Live search that filters a list of users as you type. Zero libraries, just state and update().
SearchFilter.ts
● Live
Loading States
Async data fetching with idle / loading / success / error states. No special async API needed.
Ready to fetch
LoadingStates.ts