Files
Chris Tate 80d1c46d36 Prepare v0.9.5 release (#391)
- Make app.json the default manifest with a published versioned schema.
- Add registered-image source cropping and harden installed TypeScript toolchain resolution.
- Synchronize v0.9.5 package metadata and release notes.
2026-08-18 10:21:12 -05:00
..
2026-08-18 10:21:12 -05:00

Native SDK gpu-components example

An isolated gallery of the built-in Native UI components, authored entirely in TypeScript + Native markup. There is no app-owned Zig: src/core.ts owns controlled state, src/app.native owns the component tree and specimens, and app.zon describes the desktop shell.

The left pane has live pack, System/Light/Dark scheme, and accent selectors backed by the TypeScript model and one themeState(model) helper. “Default” accent inherits the purple app.zon accent; Pink and Teal override it. The pane also contains a real disclosure tree whose rows use the built-in roving keyboard focus and scroll-into-view behavior. The right pane renders only the selected component. Accordion disclosure, dropdown/select/combobox menus, modal surfaces, fields, sliders, tabs, lists, and the focused Tree specimen are all interactive examples of the public markup API.

Run the app with the repository CLI:

native dev

Compile the TypeScript core, validate the markup contract, and run the generated headless app suite:

native test -Dplatform=null