Skip to main content

Sway

A native Blazor renderer: CSS layout, styling and animation without a browser

Easy to Use

Real Blazor components

Write ordinary .razor components — markup, @code, data binding and event handlers — and host them without a browser or a WebView.

Focus on What Matters

Its own CSS engine

A purpose-built parser, cascade, and flex/grid layout engine style and position every box, with transitions, keyframe animations, gradients and filters rendered through SkiaSharp.

Powered by React

Native window, headless too

Runs in a real OpenGL window via Silk.NET, or headlessly to a PNG for screenshot-based checks — see --screenshot, --verify and --bench in Getting Started.