/00Showcase

Built with SwiftTUI.

The framework already runs real, non-trivial apps — and runs the same one on every host. Below: one component gallery rendered five ways, then maintained example apps in swift-tui-examples you can clone and run with a single command.

/01Every host

One gallery. Every host.

These are not four apps — they are the same SwiftTUI component gallery, the same Views, handed to a different host. The framework owns the cells; each host owns its chrome.

Browser SwiftTUIWASI · @swifttui/web
swifttui.sh/webexample live

The same authored Views, built to wasm32-wasi and mounted on a canvas through @swifttui/web — running right here, no terminal emulator, no xterm.js.

/02Example apps

Built in the open.

Maintained example apps in swift-tui-examples — clone the repo and they all build and run with one command.

  1. GIF Editor screenshot

    GIF Editor

    Canvas, layers, timeline, undo/redo — in the terminal.

    A full GIF editor written as ordinary SwiftTUI Views. Click tools, paint on a canvas, scrub a timeline, export an animated GIF. Proves that sophisticated desktop-class UX fits inside integer-cell rendering.

    view source →
  2. Terminal Workspace screenshot

    Terminal Workspace

    Zellij-style tabs, splits, and a command palette.

    Multi-pane terminal workspace built on SwiftTUITerminalWorkspace. Persisted layouts, focused chrome, command palette, embedded pty sessions. The framework is large enough to host its own multiplexer.

    view source →
  3. Layouts · side by side screenshot

    Layouts · side by side

    Native SwiftUI on the left, SwiftTUI on the right.

    Visual proof of API parity: identical layout code rendering identical compositions in two substrates. Run the example, drag the split, watch them stay in lockstep as the geometry changes.

    view source →
  4. gitviz screenshot

    gitviz

    Every SwiftTUICharts primitive against a real repo.

    Seventeen subcommands rendering BarChart, ColumnChart, StackedBarChart, ComparisonChart, LineChart, Sparkline, Timeline, HeatStrip, CalendarHeatmap, BulletChart, ThresholdGauge, Meter, and Legend against the git history of whatever repo you point it at. Dashboards in a terminal.

    view source →