Skip to content
@Angular-Native

Angular Native

Angular on real native views. Zoneless Angular in an embedded JS engine; UI tree, layout and mounting in Rust. No DOM, no WebView.

Angular Native

Angular on real native views, with the core in Rust.

Documentation · Source · Discussions


Zoneless Angular with signals, running on an embedded JS engine. The UI tree, the layout and the mounting onto real native views are Rust's job. No DOM, no WebView, no zone.js — one core for iOS, Android, macOS, the TV, the headset and both watches.

  engine thread                                  UI thread
  Angular (JS) -> Renderer2 -> __an_dom          CADisplayLink / Choreographer
      -> binary buffer -> ShadowTree             -> MountSide -> HostRenderer
         -> taffy layout -> diff                    (UIKit / android.view / AppKit)
         -> Frame { MountOp[] } ------------------>

An <an-switch> is a UISwitch and a MaterialSwitch. Accessibility, IME, scrolling and the system look come free, because the system drew them.

Repositories

Repository What it is
angular-native The monorepo: the Rust core, the eight hosts, the npm packages, the CLI, the examples and the docs site
Angular-Native.github.io The built site, pushed here by the monorepo. Output only — the source is docs-site/
.github This profile and the shared community health files

It is one repository on purpose. The Rust crates and the npm packages ship as a single version and are checked together — scripts/check-all.sh runs the whole device-free suite in one place, and splitting it would mean keeping the duplicated primitive and style lists in sync across repositories instead of across directories.

Getting started

cargo install --path crates/an-cli   # or: cargo an dev, inside the monorepo
an init && an add ios && an ios

an never touches src/main.ts or angular.json, so ng build and ng serve keep working on the same project.

License

MIT.

Popular repositories Loading

  1. angular-native angular-native Public

    Angular on real native views, with the core in Rust. Zoneless Angular in an embedded JS engine — no DOM, no WebView, eight platform targets.

    Rust 1

  2. .github .github Public

    Organization profile, issue templates and shared community health files.

  3. Angular-Native.github.io Angular-Native.github.io Public

    The built documentation site, published by the monorepo. Source lives in Angular-Native/angular-native under docs-site/.

    HTML

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…