BakeNative is under active development. APIs may change.
Skip to Content
BakeNative

Showcase

One Octane app, recorded on the web, macOS and iOS - a live market list of 5,000 coins, gradients and native motion.

The showcase (examples/showcase) is a single .tsrx app. The recording below is the same scripted tour on three targets: the web build in WebKit, the macOS app (AppKit) and the iOS app (UIKit, a release build on the simulator).

From left to right: Web (WebKit) · macOS (AppKit) · iOS (UIKit).

What it does

  • Markets. 5,000 coins in a virtual list. Every 100 ms, 40 of them change: the price chip flashes green or red and fades back (a CSS transition), the 48-point chart scrolls, and a ring pulses at its last point (@keyframes). The portfolio card is a linear-gradient; the filter control slides with a transform transition.
  • Motion. Gradient cards that tilt and fade on tap (transitions of transform and opacity), a breathing orb, a spinner and an equalizer (keyframes with delays).
  • One source. No platform branches. On native, every animation runs in Core Animation: no JavaScript runs per frame, only when data changes.

Each platform

Web: the Vite build in WebKit
macOS: AppKit, recorded from the layer tree
iOS: UIKit in an existing app (the brownfield example), release build

Run it yourself

cd examples/showcase
bake build --target web,mac,ios
  • Web: serve dist/web.
  • iOS: BAKE_APP=examples/showcase examples/ios-brownfield/build-octane.sh, then build and install the iOS example and open Octane screen (UIKit).
  • macOS: load dist/mac in an BakeNativeView (see macOS).

How the videos are made

The tour is scripted, so every recording shows the same steps:

TargetRecorded by
iOSAn e2e.com flow on the simulator (tests/e2e/showcase), app.startRecording()
WebThe same tour in Playwright WebKit at 2x (tests/parity/record-web.mjs); the e2e flow covers it as a test
macOSbake-record: the real BakeNativeRoot (Hermes, timers, scroll events) in an offscreen window, each frame the layer tree's presentation (animations in flight)

bake-record --check also runs in pnpm check: after every scroll, the virtual list's rows must cover the viewport.

On this page