RecursiveAI.OneRender 1.0.0

dotnet add package RecursiveAI.OneRender --version 1.0.0
                    
NuGet\Install-Package RecursiveAI.OneRender -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RecursiveAI.OneRender" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneRender" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneRender" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add RecursiveAI.OneRender --version 1.0.0
                    
#r "nuget: RecursiveAI.OneRender, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package RecursiveAI.OneRender@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=RecursiveAI.OneRender&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneRender&version=1.0.0
                    
Install as a Cake Tool

RecursiveAI.OneRender

The OneRender engine: an HTML and CSS layout engine for .NET, written from the specifications.

HTML (through OneHtml's parser and cascade) or a styled tree built in C# goes in; the engine builds a box tree, lays it out incrementally into a fragment tree, and paints a retained display list with stable item ids and damage regions. It also does hit testing, DOM-standard events, focus, scrolling, form controls with text editing and IME composition, CSS Transitions and Animations on the host's clock, and paged media (@page, margin boxes, counters).

No networking, no clock and no file access: the host passes time and supplies stylesheets, images and fonts. The package depends only on OneHtml and OneFont. It does not draw: use RecursiveAI.OneRender.Image for pixels, RecursiveAI.OneRender.Pdf for a tagged PDF, or read the display list yourself.

var options = new HtmlPageOptions(fonts) { ViewportWidth = 800, ViewportHeight = 600 };   // fonts: an IFontProvider, e.g. FontProviders.CreateDefault() from .Image
HtmlPage page = HtmlPage.Create(html, options);
var list = new DisplayList();
page.Paint(list);

For an interactive host, InteractivePage (events, input, Advance(nowMs)) and LivePage (edit a StyledTree, Flush()) update the page incrementally and allocate nothing in steady state. The display list format is specified in docs/display-list.md in the repository.

Part of OneRender, an HTML and CSS layout and rendering engine for .NET: https://github.com/recursive-ai-oss/onerender-csharp. Licence MIT OR Apache-2.0; see THIRD-PARTY-NOTICES.md in the package for bundled third-party material.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on RecursiveAI.OneRender:

Package Downloads
RecursiveAI.OneRender.Image

Rasterizes a OneRender display list to pixels through OneImage.

RecursiveAI.OneRender.Accessibility

Rendered page facts for accessibility checks, produced from OneRender's own layout and paint in the shape OneHtml.Accessibility reads.

RecursiveAI.OneRender.Razor

Renders a Razor component to PDF or an image in one call.

RecursiveAI.OneRender.Pdf

Writes a OneRender display list as a tagged PDF through OnePdf.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 10/27/2026