formaui-net.Framework.Explorer 1.0.0-preview.27

Prefix Reserved
This is a prerelease version of formaui-net.Framework.Explorer.
dotnet add package formaui-net.Framework.Explorer --version 1.0.0-preview.27
                    
NuGet\Install-Package formaui-net.Framework.Explorer -Version 1.0.0-preview.27
                    
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="formaui-net.Framework.Explorer" Version="1.0.0-preview.27" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="formaui-net.Framework.Explorer" Version="1.0.0-preview.27" />
                    
Directory.Packages.props
<PackageReference Include="formaui-net.Framework.Explorer" />
                    
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 formaui-net.Framework.Explorer --version 1.0.0-preview.27
                    
#r "nuget: formaui-net.Framework.Explorer, 1.0.0-preview.27"
                    
#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 formaui-net.Framework.Explorer@1.0.0-preview.27
                    
#: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=formaui-net.Framework.Explorer&version=1.0.0-preview.27&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=formaui-net.Framework.Explorer&version=1.0.0-preview.27&prerelease
                    
Install as a Cake Tool

Forma.Framework.Explorer

The options and state behind FormaExplorer: the records a host configures an explorer with, and the view and interaction contracts through which the explorer's parts, its toolbar, sidebar, address bar and content views, read its state and ask it for changes.

The package comes with formaui-net.Blazor.Explorer, so a host installs that package and uses these types from it. The items, providers and requests an explorer works with are Forma.Framework.Catalog's, and the component's parameters and callbacks are documented in Forma.Blazor.Explorer.

Configuring an explorer

A host hands FormaExplorer two init-only records:

Type Namespace What it configures
ExplorerOptions Forma.Framework.Explorer The presentation: the sidebar, the folder menus, resizing, dialog presentation, selection, infinite scrolling, the details columns and the search delay. ExplorerOptions.Default is the standard presentation.
ExplorerItemOptions Forma.Framework.Explorer.Items The operations permitted on items and on folders, and upload. ExplorerItemOptions.Default permits every operation, and ExplorerItemOptions.ReadOnly permits browsing and selection.

The enums the component's parameters take live beside them: ExplorerViewMode and ExplorerDetailsColumns in Forma.Framework.Explorer.Content, and ExplorerGroupField and ExplorerInfiniteScrollMode in Forma.Framework.Explorer.Content.Queries.

using Forma.Framework.Catalog;
using Forma.Framework.Explorer;
using Forma.Framework.Explorer.Content;
using Forma.Framework.Explorer.Content.Queries;
using Forma.Framework.Explorer.Items;

var options = ExplorerOptions.Default with
{
    ShowSidebar = false,
    InfiniteScroll = ExplorerInfiniteScrollMode.Automatic,
    DetailsColumns = ExplorerDetailsColumns.Size | ExplorerDetailsColumns.Modified,
};

var itemOptions = ExplorerItemOptions.Default with
{
    AllowedCapabilities = CatalogItemCapabilities.Open | CatalogItemCapabilities.View | CatalogItemCapabilities.Rename,
    AllowUpload = false,
};

An item offers an operation when the item's own Capabilities support it and the item options permit it. GetCapabilities(options) and Permits(options, capability), extension methods on ICatalogItem in ExplorerItemExtensions, answer that combination, with nothing permitted on a disabled item.

How the explorer's parts use it

FormaExplorer implements IExplorerView and IExplorerInteraction and cascades both to its parts, which stand inside the data view the explorer browses through, its sidebar being that data view's tree. Each part takes the narrower contract it needs as a cascading parameter:

Contract What a part reads or asks
IExplorerConfigurationView The options in force, and whether the sidebar shows.
IExplorerLocationView, IExplorerLocationInteraction The current folder, the breadcrumbs, the folder tree and whether back, forward and up are open; moving between folders.
IExplorerContentView, IExplorerContentInteraction The items shown, the view mode, sort, grouping and details columns; changing them and refreshing.
IExplorerSearchView, IExplorerSearchInteraction The search text and placeholder; changing the search text.
IExplorerSelectionView, IExplorerSelectionInteraction The selected items, folders first, and whether selection mode is on; toggling an item, taking one out, toggling selection mode and clearing, which the data view's selection rules decide.
IExplorerItemView, IExplorerItemInteraction The item actions, item options and pending confirmation; dragging, renaming, deleting and confirming.

The state behind those contracts is held in:

Type What it is
ExplorerItemManager The item actions, pending confirmations and drag state shared by every region that lists items.
ExplorerItemAction One operation offered on an item: its icon, label, required capabilities and what it runs.
ExplorerPendingAction A confirmation awaiting the reader: ExplorerRenameAction<T>, ExplorerCreateFolderAction or ExplorerBatchAction<T>.
ExplorerContentProvider The content of a location, its child folders from the folder tree before its files from a provider, sliced by position across both, the folders filling the grouping's leading group.
ExplorerGrouping The groups an ExplorerGroupField bands the items into, defined once for a browsing sequence as a CatalogGrouping a store applies and the data view groups by, led by the folders' group, each group the items sharing an ExplorerGroupBand, such as names from A to H or sizes up to 1 MB.
ExplorerHistory The folders the explorer has visited, with a cursor moving back and forward.
ExplorerPreview The resource shown full-size, and the siblings a viewer steps through.

License

Apache License 2.0, under the repository's LICENSE.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on formaui-net.Framework.Explorer:

Package Downloads
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.AddOns.Composer.Plugins.Explorer

A FormaComposer plugin that lets an author pick one of the host's stored files and insert it.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-preview.27 46 12/3/2026
1.0.0-preview.26 55 12/3/2026
1.0.0-preview.25 52 12/2/2026
1.0.0-preview.24 59 12/1/2026
1.0.0-preview.23 80 11/30/2026
1.0.0-preview.22 74 11/30/2026
1.0.0-preview.21 74 11/29/2026
1.0.0-preview.20 73 11/26/2026
1.0.0-preview.19 76 11/26/2026
1.0.0-preview.18 83 11/26/2026
1.0.0-preview.17 78 11/26/2026
1.0.0-preview.16 66 11/24/2026
1.0.0-preview.15 72 11/23/2026
1.0.0-preview.14 67 11/23/2026
1.0.0-preview.13 69 11/21/2026
1.0.0-preview.12 70 11/20/2026
1.0.0-preview.11 70 11/18/2026
1.0.0-preview.10 73 11/17/2026
1.0.0-preview.9 103 11/17/2026
1.0.0-preview.8 79 11/17/2026
Loading failed

What this release changed is in Forma's changelog: https://github.com/FormaUI/Forma/blob/v1.0.0-preview.27/CHANGELOG.md