Prerequisite: finish Installation (ztron doctor all green).
Showcase is a runnable desktop app that turns Ztron's capabilities into 34 interactive cards: every button really calls the corresponding API — opening native dialogs, reading the clipboard, creating a second window, switching the app theme, going frameless — with the result shown in place, plus a minimal code snippet and a direct link to the matching docs page. Think Electron API Demos, built with Ztron.
From the repository root (native toolchain built per Installation):
The native window titled "Ztron Showcase" is your success signal. Frontend edits
hot-reload; use ztron build for packaging.
| Category | Cards | Highlights |
|---|---|---|
| Core | 4 | invoke (with codegen bindings), events, Channel streaming |
| Window | 5 | control, multi-window, monitors & events, theme switching, frameless window |
| FS | 3 | text/binary IO, directories & paths, fs.watch |
| Network | 3 | http.fetch, streaming download, WebSocket |
| Dialogs | 4 | open/save, message/ask/confirm, notifications, clipboard |
| Menu & Tray | 3 | app menu, TrayIcon, global shortcuts |
| Data | 3 | Store KV, SQLite, structured logging |
| System | 9 | app/os info, shell, opener, single-instance, deep-link, autostart, window-state, network, updater |
Window.setTheme() plus CSS prefers-color-scheme);Showcase is itself a standard Ztron app: ztron.conf.json (declarative
windows), capabilities/default.json (ACL permissions), src/commands.ts +
ztron codegen (typed command bindings). It mirrors the ztron init scaffold,
so new projects can copy from it freely.
Source: examples/showcase/.
"34 cards rendered and reported" doubles as a smoke check (exit 0), CI-friendly.
Next: Quick Start · Examples · IPC · Security ACL