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.
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.
NSGlassEffectView
Physical refraction, specular borders, coalescing glass groups (-attar-macos-glass-group), tinting, and macOS 13–15 NSVisualEffectView vibrancy.
DWMWA / WM_NCHITTEST
Native DWM system backdrops plus real Windows 11 Snap Layout hover menus routed straight from your custom HTML maximize button.
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.
@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.
.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; } }
.toolbar { -attar-macos-glass: clear; -attar-macos-glass-tint: rgba(245, 171, 32, 0.08); -attar-macos-glass-group: main-toolbar; -attar-macos-window-region: drag; padding-left: calc(env(-attar-macos-traffic-lights-width) + 16px); } @supports not (-attar-macos-glass: regular) { /* macOS 13–15 NSVisualEffectView fallback */ .toolbar { -attar-macos-vibrancy: sidebar; -attar-macos-vibrancy-blending: behind-window; } } .toolbar:window-inactive { opacity: 0.78; }
.app-shell { -attar-windows-backdrop: mica-alt; /* DWMWA_SYSTEMBACKDROP_TYPE */ padding-right: env(-attar-windows-caption-buttons-width); } /* Routes WM_NCHITTEST -> HTMAXBUTTON for Windows 11 Snap Layouts */ .btn-min { -attar-windows-caption-button: minimize; } .btn-max { -attar-windows-caption-button: maximize; } .btn-close { -attar-windows-caption-button: close; } .floating-palette { -attar-windows-backdrop: acrylic; }
.tab-bar { -attar-ios-glass: interactive; /* iOS 26 UIGlassEffect */ -attar-android-blur-radius: 28px; /* Android 12+ blur */ padding-bottom: env(safe-area-inset-bottom); } .chat-input { /* Moves 1:1 with the native software keyboard animation */ transform: translateY(calc(-1 * env(-attar-keyboard-inset-height))); }
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.
-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.
--refract-strength
Animate shader parameters with ordinary CSS transitions, hover states, and scroll timelines at 120 Hz ProMotion—zero imperative graphics boilerplate.
.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 */
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.
#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);
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.
#[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) }
// 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.
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 |
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.
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.
Hardened Runtime & Anti-Inject
Library Validation and release hardening block DYLD_INSERT_LIBRARIES, casual debugger attach, and instrumentation hooks out of the box.
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.
Haptics & Force Touch
Native tactile feedback via NSHapticFeedbackManager, Force Touch lookup on macOS, UIImpactFeedbackGenerator on iOS, and Android haptics.
QuickLook & Native Sheets
Instant OS file previews with macOS QLPreviewPanel, native iOS Share Sheets and detented bottom sheets, plus platform file and print dialogs.
Biometrics & OS Palettes
Touch ID, Windows Hello, and Android BiometricPrompt paired with live macOS semantic NSColor, Windows Accent, and Material You palettes.
Drop-in Electron Path
Compile existing Electron apps into a single lightweight native runtime—cutting 4–5× memory overhead without a ground-up rewrite.
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.
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.