RecursiveAI.OneRender
1.0.0
dotnet add package RecursiveAI.OneRender --version 1.0.0
NuGet\Install-Package RecursiveAI.OneRender -Version 1.0.0
<PackageReference Include="RecursiveAI.OneRender" Version="1.0.0" />
<PackageVersion Include="RecursiveAI.OneRender" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OneRender" />
paket add RecursiveAI.OneRender --version 1.0.0
#r "nuget: RecursiveAI.OneRender, 1.0.0"
#:package RecursiveAI.OneRender@1.0.0
#addin nuget:?package=RecursiveAI.OneRender&version=1.0.0
#tool nuget:?package=RecursiveAI.OneRender&version=1.0.0
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 | Versions 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. |
-
net10.0
- RecursiveAI.OneFont (>= 1.3.0)
- RecursiveAI.OneHtml (>= 1.2.0)
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 |