Frontage examples
Each page loads frontage's own Python runtime compiled to WebAssembly and the framework
as precompiled bytecode. The
source is the same
files the browser suite tests.
- Hello: the package imports, a signal, a store
- Counter: signals, a memo, holes, a class toggle
- Todo: a store,
For with keys, Show, two-way binding
- Rows: the js-framework-benchmark table, with timings
- Fetch:
Resource, Loading, Errored
- Forms: bindings,
Switch, an Action on submit
- Template: the counter as a template string,
html(t"…")
- Contacts: the router, nested routes,
A links, query(); ?mode=history for pushState
- Wasm library: a C or Rust library compiled to WebAssembly, imported like any Python module
- Chart: uPlot wrapped as a component — a dashboard with a live 20,000-point chart
- Weather: Streamlit's Seattle Weather demo, ported — metrics, five charts and a table over 1,461 rows the page ships with it
- Uber NYC: Streamlit's flagship demo, rebuilt — a million real pickups, an hour slider, and a map whose viewport is an input the histogram reads
- Tracker: the whole framework in one app — routes, a store,
Optimistic, a Portal modal, an ActionForm