Skip to content

Examples

Walk through focused examples of the framework's core features. Each page is a complete module you can drop into a wybthon.toml project (or render in a test with wybthon.testing) and an explanation of the patterns it demonstrates.

Example What it shows
Counter Signals, memos, holes, t-strings, and typed Props with prop defaults.
Async fetch Async create_memo with a Loading boundary, refetching, and is_pending.
Forms form_state, bindings, validation, and accessibility helpers from wybthon.forms.
Error handling Recovering from render and async errors with Errored and its err accessor.
Router Router, Route, Link, RouteProps, and lazy routes.
Authoring patterns Composition with children, lists with For, stores, actions, and cleanup.

Complete apps

For full applications that put these patterns together, see the demo apps guide: standalone repositories like demo-template and data-lab that run entirely in the browser.

Next steps

  • Read the Concepts section for the underlying mental model.
  • Browse the API reference when you need precise function signatures.