Rask.Ui 0.20.1-alpha.0.228

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

Rask.Ui

The component kit the Rask One Person Framework builds its own surfaces from — the operator console, the landing site and the docs showcase all draw with these.

  • Mobile-first, not merely responsive. Every control takes a 44px touch target below sm; the tab bar scrolls sideways rather than wrapping, so the header is always exactly one row tall; a detail sheet is a bottom sheet on a phone and a centred card above it.
  • Ships no JavaScript. A breadcrumb switcher is a real <select> with the chrome stripped off it, so it is keyboard-navigable, announces itself correctly, and opens the platform's own picker on a phone. Overlays are a state flip on the owning page, so they work identically on the Server transport and in WebAssembly.
  • The stylesheet comes with it. Tailwind scans the project it runs in, so a compiled library's class names are invisible to your Tailwind build and would emit nothing. This package compiles its own sheet and hands it to you — there is nothing to configure, no static web assets, and no _content/ path to map.
  • Re-skinned by tokens, not overrides. The palette is --color-ui-* custom properties. Redefine any of them in your own @theme and every component follows, without a single rule being overridden.

Use

dotnet add package Rask.Ui

Inline the kit's stylesheet before your own, then compose:

protected override Component? HeadAssets =>
[
    Style[Raw.Value(UiStylesheet.Css)],   // the kit's, first
    Link.Rel("stylesheet").Href("/css/app.css"),
];

protected override Component? Render() =>
    UiShell[
        UiTopBar.Trailing(UiTopLink.Label("Docs").Href("https://rask.sh/docs/"))[
            UiBrand.Label("Acme").Href(Routes.Home())
        ],
        UiNav[
            UiNavTab.Label("Overview").Href(Routes.Home()).Active(true),
            UiNavTab.Label("Reports").Href(Routes.Reports())
        ],
        UiMain[
            UiMetricRow.Columns(4)[
                UiMetric.Label("Outstanding").Value("0"),
                UiMetric.Label("Failed").Value("3").Tone(UiTone.Danger)
            ]
        ]
    ];

Order matters: your @theme only wins while it is the copy the cascade reads last. The kit's sheet deliberately carries no preflight and no html/body rules — your application owns its document, and a reset arriving from a library restyles pages that never asked for it.

What is in it

Chrome UiShell UiTopBar UiBrand UiNav UiNavTab UiCrumbSwitcher UiCrumbSeparator UiTopLink UiMain
Controls UiButton UiSearch UiStatusDot
Data UiMetricRow UiMetric UiDetailList UiDetailRow UiCode
Overlays UiModal UiToast
Other UiIcon / UiIconName, UiTone, UiStylesheet

Requires .NET 10. Runs on both the ASP.NET host and browser-WebAssembly.

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-browser1.0 is compatible.  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.
  • net10.0

    • No dependencies.
  • net10.0-browser1.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Rask.Ui:

Package Downloads
Rask.Dashboard

A built-in operator dashboard for the Rask One Person Framework batteries. Mounts at /_rask and shows the outbox, background jobs, queued mail and cache from the application's own database — queue depth, dead letters, the errors behind them, stored email previews, the recurring-job schedule, SQLite pragmas and backup status. A live log tail is built in, and becomes a searchable history when Rask.Logging is installed. Panels appear only for the batteries the app actually registered. Protected by an authorization policy that fails closed outside Development.

Rask

The one reference a Rask application needs, server or browser. On net10.0 it brings the ASP.NET host plus every battery — database, mediator, background jobs, transactional email, cache, outbox, operator dashboard, durable logs, Web Push, and SQLite snapshots and continuous backup — with RaskApp.Create(args) as the entry point. On net10.0-browser it brings the WebAssembly host, the source-generated mediator, the query cache and remote dispatch. Everything referenced is wired and on; app.Configure(c => c.Jobs.Off()) is how an app does without one. Reference Rask.Server for a lean host with no database.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.20.1-alpha.0.228 40 9/4/2026
0.20.1-alpha.0.227 29 9/4/2026
0.20.1-alpha.0.226 38 9/4/2026
0.20.1-alpha.0.225 41 9/4/2026
0.20.1-alpha.0.224 39 9/4/2026
0.20.1-alpha.0.223 45 9/4/2026
0.20.1-alpha.0.221 40 9/4/2026