Attar Native Platform · Capabilities Specification

What owning the whole stack unlocks.

A WebView only lets you draw inside a sandboxed rectangle. Because Attar owns the compiler, Blink layout engine, GPU compositor, and native OS host, your React and CSS gain direct access to real OS materials, custom views, GPU shaders, game engine textures, and shared native memory.

01 / Native OS CSS ADR 0033 · Roadmap

Liquid Glass, Mica, Snap Layouts & OS chrome in CSS.

Per-OS materials and window chrome geometry are parsed by Blink and collected in the compositor pass—with zero fake backdrop-filter blur, zero hardcoded titlebar offsets, and zero JavaScript layout polling.

macOS Liquid Glass & Vibrancy NSGlassEffectView

Physical refraction, specular borders, coalescing glass groups (-attar-macos-glass-group), tinting, and macOS 13–15 NSVisualEffectView vibrancy.

Windows 11 Mica, Acrylic & Snap Layouts DWMWA / WM_NCHITTEST

Native DWM system backdrops plus real Windows 11 Snap Layout hover menus routed straight from your custom HTML maximize button.

Live env() Chrome & Keyboard Insets Zero JS polling

Traffic-light insets, concentric window corner radii, Windows DPI caption button metrics, and live animated mobile keyboard height.

Standard @supports & Accessibility prefers-reduced-transparency

Unmatched OS properties are safely ignored at parse time; @supports checks the live OS capability, and reduced transparency / :window-inactive always win.

chrome.css 1-to-1 OS primitives
.sidebar {
  -attar-macos-glass: regular;           /* macOS 26 Liquid Glass */
  -attar-macos-glass-group: chrome;
  -attar-windows-backdrop: mica;         /* Windows 11 DWM Mica */
  -attar-ios-glass: interactive;         /* iOS 26 UIGlassEffect */
  -attar-android-blur-radius: 24px;      /* Android 12+ Window blur */

  padding-left: env(-attar-macos-traffic-lights-inset-left);
  border-radius: env(-attar-macos-window-corner-radius);
}

.titlebar { -attar-macos-window-region: drag; }
.win-max  { -attar-windows-caption-button: maximize; }
.composer { bottom: env(-attar-keyboard-inset-height); }

@media (prefers-reduced-transparency: reduce) {
  .sidebar { -attar-macos-glass: none; background: #111310; }
}
Composited by WindowServer & DWM · zero extra offscreen backdrop memory
02 / Custom Native Tags & Out-of-Window JSX Roadmap

Native views inside HTML—and outside the window.

Place hardware video players, MapKit views, and Metal/Direct3D/Vulkan surfaces directly inside Flexbox and CSS Grid, or declare real out-of-window OS menus, menu-bar trays, and native sheets in JSX.

Workspace.tsx Blink layout · zero overlay drift
export function Workspace({ clip, coords }) {
  return (
    <main class="grid h-screen grid-cols-[280px_1fr] gap-3 p-3">
      <aside class="sidebar flex flex-col gap-3">
        {/* Hardware AVPlayer / MediaFoundation, clipped by CSS */}
        <native-video src={clip} hdr class="rounded-xl aspect-video" />
        {/* Direct Metal / D3D12 / Vulkan 120 Hz surface */}
        <metal-canvas msaa={4} onFrame={renderWaveform} />
      </aside>

      {/* Native MapKit / OS map participating in CSS Grid */}
      <native-map lat={coords.lat} lng={coords.lng} zoom={14} />
    </main>
  );
}
Blink owns Flexbox, Grid, clipping, border-radius & hit-testing · zero JSON bridge
In-Layout OS & GPU Surfaces <native-map> <native-video>

No floating transparent child windows chasing ResizeObserver by 2 frames. Native views inherit exact Blink layout rects, scroll clipping, and rounded corners in the same frame commit.

Out-of-Window System Chrome NSMenu · NSStatusItem · UISheet

Drive real system context menus, macOS menu-bar extras, Windows tray popovers, and iOS detented sheets with React state and hooks—extending cleanly beyond window edges.

Always-On Utility Footprint ~30–55 MiB

Ship resident menu-bar and tray apps with real Liquid Glass menus instead of parking a 300 MiB multi-process browser in the user’s RAM all day.

03 / CSS GPU Shaders Roadmap

Attach compiled GPU shaders to any DOM element.

Browser CSS Houdini stalled—but Attar owns the Skia/Metal/Vulkan compositor directly. Run fragment shaders on ordinary cards, typography, scroll surfaces, or transitions at locked 120 Hz without WebGL canvas wrappers or texture readbacks.

DOM-Native Shader Pipeline -attar-shader

Bind a SkSL, Metal, or WGSL shader directly to any element. The compositor feeds the node’s live rasterized pixels and backdrop into the shader zero-copy.

CSS Custom Properties as Uniforms --refract-strength

Animate shader parameters with ordinary CSS transitions, hover states, and scroll timelines at 120 Hz ProMotion—zero imperative graphics boilerplate.

effects.css 120 Hz compositor-native shader
.hero-card {
  -attar-shader: url("./shaders/optical-foil.sksl");
  --refract-strength: 0.42;
  --light-angle: 38deg;
  transition: --refract-strength 240ms cubic-bezier(.22, 1, .36, 1);
}

.hero-card:hover { --refract-strength: 0.85; }

/* Applies to live text, Flexbox, Grid, SVG, and video—no WebGL canvas */
04 / Game UI Edition Design Partner Preview

React & Blink HUD—zero-copy into your GPU texture.

Pass a shared MTLTexture, ID3D12Resource, or VkImage from Unreal, Unity, Godot, Bevy, or your C++ engine. Get full Chromium Blink (CJK, RTL, Grid, SVG) without partial-CSS middleware quirks or 5-process CEF bloat.

hud_integration.cpp Offscreen GPU Texture C ABI · PC · Steam Deck · Mobile · Consoles
#include <attar/offscreen_gpu.h>

// Bind directly to Unreal / Unity / Godot / custom C++ engine render target
AttarSurface* hud = attar_surface_create_gpu({
  .backend = ATTAR_GPU_METAL,   // or ATTAR_GPU_D3D12 / ATTAR_GPU_VULKAN
  .texture = engine_hud_texture,
  .width   = 2560,
  .height  = 1440,
});

// Inside your engine frame loop — single process, zero IPC, deterministic frame time
attar_surface_push_input(hud, &gamepad_and_pointer_events);
attar_surface_tick_and_composite(hud, delta_seconds);
~50 MiB vs 400+ MiB CEF — leaves 300+ MiB for 3D textures
1 process In-process inside game binary · anti-cheat friendly
0 V8 JIT Strict W^X · runs on iOS & consoles where CEF is blocked
0 copies Zero-copy GPU composite straight into engine frame graph
05 / Zero-Copy In-Process ABI Shipping

Rust, C & C++ in the exact same address space.

Pass camera frames, DSP audio buffers, SQLite cursors, cryptographic keys, or local LLM tensors directly by memory pointer—zero JSON serialization, zero IPC message queues, zero N-API marshaling overhead.

engine.rs Native Rust / C / C++
#[no_mangle]
pub extern "C" fn analyze_pcm_buffer(
    ptr: *const f32,
    len: usize,
) -> f32 {
    let samples = unsafe { std::slice::from_raw_parts(ptr, len) };
    dsp::rms_energy(samples)
}
Meter.tsx Direct C ABI · 0 serialization
// Same process, same pointer — nanosecond call overhead
const energy = native.analyzePcmBuffer(sharedFloat32View);

// Or invert ownership: let your Rust/C++/Swift app own main()
// and link Attar's compiled UI library directly.
06 / IP Protection & Zero-JIT Security Compiled Binary Shipping Selective Hardening Roadmap

No app.asar. No V8 JIT. Instant 120 Hz start.

Built for fintech, crypto wallets, AI tools, enterprise B2B, and game economies that cannot ship plaintext JavaScript archives or expose writable-executable JIT memory.

Surface Electron / WebView Attar
Shipped UI code npx asar extract app.asar ./src (plaintext JS) Single stripped native machine binary · 0 plaintext JS
JIT attack surface V8 / WebKit JIT with writable-executable memory pages Zero V8 JIT · strict W^X memory · no runtime eval
Bridge & processes Node.js runtime + preload IPC across 4+ OS processes Single OS process · zero Node bridge
First-frame latency Cold JIT warmup & bytecode parsing spikes on first scroll 0 ms JIT warmup · native machine code from frame 0
Shipping

Compiled Machine Code

TypeScript, React components, prompts, and product logic compile ahead of time into native code with no web inspector shipped to end users.

Enterprise Roadmap

Selective Module Hardening

Protect marked modules (licensing, prompts, trading rules) with compile-time string-table encryption and selective native hardening with zero UI FPS tax.

Release Defaults

Hardened Runtime & Anti-Inject

Library Validation and release hardening block DYLD_INSERT_LIBRARIES, casual debugger attach, and instrumentation hooks out of the box.

07 / System Shell, Migration & Delivery Active Buildout

Feels written in Swift & WinUI. Ships to all 5 OSes.

First-class OS hardware affordances, drop-in migration from existing Electron apps, and compact binary delivery across every desktop and mobile architecture.

System Shell · Roadmap

Haptics & Force Touch

Native tactile feedback via NSHapticFeedbackManager, Force Touch lookup on macOS, UIImpactFeedbackGenerator on iOS, and Android haptics.

System Shell · Roadmap

QuickLook & Native Sheets

Instant OS file previews with macOS QLPreviewPanel, native iOS Share Sheets and detented bottom sheets, plus platform file and print dialogs.

System Shell · Roadmap

Biometrics & OS Palettes

Touch ID, Windows Hello, and Android BiometricPrompt paired with live macOS semantic NSColor, Windows Accent, and Material You palettes.

Migration · Active

Drop-in Electron Path

Compile existing Electron apps into a single lightweight native runtime—cutting 4–5× memory overhead without a ground-up rewrite.

Targets · Active

5 OSes · All Architectures

macOS, Windows, Linux, iOS, and Android across Apple silicon, ARM64, and x86_64—one Blink engine everywhere, zero OS WebView lottery.

Delivery · Roadmap

2–5 MB Delta Updates

Signed, notarized releases and binary delta patches instead of forcing users to re-download 150–300 MB bundles on every update.

Building something that WebViews can’t carry?

Work directly with the founders on IDEs, AI tools, creative software, fintech terminals, or game UI.