formaui-net.Framework.Browser
1.0.0-preview.27
Prefix Reserved
dotnet add package formaui-net.Framework.Browser --version 1.0.0-preview.27
NuGet\Install-Package formaui-net.Framework.Browser -Version 1.0.0-preview.27
<PackageReference Include="formaui-net.Framework.Browser" Version="1.0.0-preview.27" />
<PackageVersion Include="formaui-net.Framework.Browser" Version="1.0.0-preview.27" />
<PackageReference Include="formaui-net.Framework.Browser" />
paket add formaui-net.Framework.Browser --version 1.0.0-preview.27
#r "nuget: formaui-net.Framework.Browser, 1.0.0-preview.27"
#:package formaui-net.Framework.Browser@1.0.0-preview.27
#addin nuget:?package=formaui-net.Framework.Browser&version=1.0.0-preview.27&prerelease
#tool nuget:?package=formaui-net.Framework.Browser&version=1.0.0-preview.27&prerelease
Forma.Framework.Browser
The abstractions of Forma's browser layer: the observations a component holds of an element and the
states they report, the options of what the browser does to an element, the registrations an owner's
session holds, and INativeOperations, a host's own way to save a file and share an address where its
web view can't. Forma.Framework.Browser.Interop implements them over the browser's scripts.
The package comes with formaui-net.Blazor. Every type is in the Forma.Framework.Browser namespace.
Observing an element
An element's observations come from the component's watcher, as
Context.DomWatcher.GetElement(element), an IDomElementObservation. Each one watches a state and
hands what the browser measures to a handler, and is brought in step with the component after every
render:
using Forma.Framework.Browser;
private IDomObservation<ScrollWatchOptions, ScrollState>? _scrollState;
protected override async Task OnAfterRenderAsync(bool firstRender)
{
if (firstRender)
{
_scrollState = await Context.DomWatcher.GetElement(_viewport).Scroll.WatchAsync(HandleScrollStateAsync, WatchOptions);
}
if (_scrollState is { } scrollState)
{
await scrollState.SyncAsync(_viewport, WatchOptions);
}
}
Saving and sharing natively
A host whose web view neither saves a file nor shares an address registers an INativeOperations.
CanSave and CanShare tell whether it does each, and TrySaveAsync and TryShareAsync answer
whether it took the file or the address. Forma's downloads, printing and sharing take it where one is
registered that does the work, and go to the browser's own path otherwise. Forma.Framework.Browser.Maui
registers one for MAUI's web views on Android, iOS and Mac Catalyst.
License
Apache License 2.0, under the repository's LICENSE.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Microsoft.AspNetCore.Components (>= 11.0.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on formaui-net.Framework.Browser:
| Package | Downloads |
|---|---|
|
formaui-net.Framework.Browser.Interop
The browser capabilities Forma's components reach through JavaScript. |
|
|
formaui-net.Blazor
A Blazor component library for .NET 11: form inputs and pickers, dialogs, popovers and toasts, toolbars and menus, tabs and layout, file pickers, uploaders and viewers, icons, emoji and windows. |
|
|
formaui-net.Blazor.Explorer
FormaExplorer, a file manager for the Forma component library over items and folders the host already holds: a folder tree, an address bar with history and breadcrumbs, thumbnail, details and list views, search, sorting and grouping, selection, drag and drop between folders, upload, and a preview of any item. |
|
|
formaui-net.Blazor.DataView
FormaDataView, the collection component of the Forma component library. |
|
|
formaui-net.Blazor.Composer
FormaComposer, a rich text authoring surface for Blazor: an editor with the toolbar, dialogs, views and attachments an article or a page body needs, assembled from plugins the host picks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-preview.27 | 61 | 12/3/2026 |
| 1.0.0-preview.26 | 72 | 12/3/2026 |
| 1.0.0-preview.25 | 78 | 12/2/2026 |
| 1.0.0-preview.24 | 96 | 12/1/2026 |
| 1.0.0-preview.23 | 137 | 11/30/2026 |
| 1.0.0-preview.22 | 138 | 11/30/2026 |
| 1.0.0-preview.21 | 140 | 11/29/2026 |
| 1.0.0-preview.20 | 146 | 11/26/2026 |
| 1.0.0-preview.19 | 146 | 11/26/2026 |
| 1.0.0-preview.18 | 136 | 11/26/2026 |
| 1.0.0-preview.17 | 124 | 11/26/2026 |
| 1.0.0-preview.16 | 122 | 11/24/2026 |
| 1.0.0-preview.15 | 120 | 11/23/2026 |
| 1.0.0-preview.14 | 120 | 11/23/2026 |
| 1.0.0-preview.13 | 116 | 11/21/2026 |
| 1.0.0-preview.12 | 125 | 11/20/2026 |
| 1.0.0-preview.11 | 121 | 11/18/2026 |
| 1.0.0-preview.10 | 120 | 11/17/2026 |
| 1.0.0-preview.9 | 153 | 11/17/2026 |
| 1.0.0-preview.8 | 129 | 11/17/2026 |
What this release changed is in Forma's changelog: https://github.com/FormaUI/Forma/blob/v1.0.0-preview.27/CHANGELOG.md