Daeha.RnUI 0.12.0

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

Daeha.RnUI

⚠️ 베타 버전 안내 (BETA WARNING) 현재 이 라이브러리는 초기 오픈소스 작업 중인 베타 버전이며 여러 버그와 오류가 포함되어 있을 수 있습니다. 운영 환경(Production)에서의 사용을 권장하지 않습니다. 피드백 및 기여는 언제나 환영합니다!

⚠️ BETA WARNING This library is currently in early beta and may contain many bugs and errors. We do not recommend using it in a production environment. Feedback and contributions are always welcome!

A Blazor port of shadcn/ui. Beautifully designed, accessible UI components built with Tailwind CSS v4 for .NET Blazor applications.

NuGet License: MIT

Quick Start

1. Install the package

dotnet add package Daeha.RnUI

2. Add imports to _Imports.razor

@using Daeha.RnUI.Components.UI

3. Add stylesheet to App.razor

<link rel="stylesheet" href="_content/Daeha.RnUI/css/shadcn.css" />

4. Set up Tailwind CSS v4

Add the RnUI package source path to your Tailwind v4 config so it scans component class names:

@source "../../{YourProject}/_content/Daeha.RnUI/**/*.razor";

Components

54 component categories ported from shadcn/ui:

Buttons & Inputs — Button, ButtonGroup, Input, InputOTP, Textarea, Label, Checkbox, Switch, RadioGroup, Select, Toggle, ToggleGroup, Combobox, Field, Form

Cards & Containers — Card, Alert, Badge, AspectRatio, ScrollArea, Separator, Resizable

Data Display — Table, DataTable, Avatar, Progress, Slider, Skeleton, Spinner, Kbd, Calendar

Navigation — Tabs, Breadcrumb, Pagination, NavigationMenu, Sidebar, Menubar

Overlays — Dialog, AlertDialog, Sheet, Drawer, Popover, Tooltip, HoverCard, DropdownMenu, ContextMenu, Toast

Disclosure — Accordion, Collapsible

Other — Command, Carousel, DatePicker, Gantt, Empty

Usage Examples

Button

<RnButton>Default</RnButton>
<RnButton Variant="ButtonVariant.Secondary">Secondary</RnButton>
<RnButton Variant="ButtonVariant.Outline">Outline</RnButton>
<RnButton Size="ButtonSize.Sm">Small</RnButton>

Card

<RnCard>
    <RnCardHeader>
        <RnCardTitle>Card Title</RnCardTitle>
        <RnCardDescription>Description here.</RnCardDescription>
    </RnCardHeader>
    <RnCardContent>
        <p>Card content.</p>
    </RnCardContent>
    <RnCardFooter>
        <RnButton>Action</RnButton>
    </RnCardFooter>
</RnCard>

Dialog

<RnButton OnClick="() => _open = true">Open</RnButton>
<RnDialog @bind-Open="_open">
    <RnDialogHeader>
        <RnDialogTitle>Title</RnDialogTitle>
    </RnDialogHeader>
    <p>Content here.</p>
    <RnDialogFooter>
        <RnButton OnClick="() => _open = false">Close</RnButton>
    </RnDialogFooter>
</RnDialog>

Key Features

  • 54 component categories faithfully ported from shadcn/ui
  • Tailwind CSS v4 with oklch color system
  • Light / dark mode support via CSS custom properties
  • Fully accessible
  • Zero external NuGet dependencies
  • Supports .NET 8.0, 9.0, and 10.0

Customization

Override CSS custom properties to theme all components:

:root {
    --background: oklch(1 0 0);
    --foreground: oklch(0.141 0.005 285.823);
    --primary: oklch(0.21 0.006 285.885);
    --radius-lg: 0.5rem;
}

Changelog

change-log

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.12.0 102 3/19/2026
0.11.13 101 3/19/2026
0.11.12 96 3/19/2026
0.11.11 95 3/19/2026
0.11.10 109 3/17/2026
0.11.9 115 3/17/2026
0.11.8 96 3/17/2026
0.11.7 113 3/17/2026
0.11.6 98 3/16/2026
0.11.5 104 3/16/2026
0.11.4 103 3/15/2026
0.11.3 100 3/15/2026
0.11.2 109 3/15/2026
0.11.1 102 3/13/2026
0.11.0 101 3/13/2026
Loading failed