Vladimir Enchev d69d4e26ed Version updated
2026-11-02 14:13:42 +02:00
2026-11-02 14:13:42 +02:00
RadzenFabMenu renders its items as menu items and behaves like a menu from the keyboard. The open items sat in a div with role menu while each RadzenFabMenuItem rendered a plain button, so axe reported aria-required-children as critical, and the menu had no keyboard behaviour at all: nothing moved focus into it, the arrow keys did nothing, Escape did not close it and closing it dropped focus on the body. RadzenFabMenuItem now renders role menuitem unless the consumer supplied a role, and defaults TabIndex to -1 so the items form a single tab stop reached with the arrow keys; TabIndex on RadzenButton became virtual for that. The menu container carries the AriaLabel of the toggle as its accessible name. A createFabMenu client handler attached once per instance handles the keyboard: ArrowDown or ArrowUp on the closed toggle opens the menu and focuses the first item, ArrowDown, ArrowRight, ArrowUp, ArrowLeft, Home and End move between the enabled items and wrap, Escape closes the menu and returns focus to the toggle, and Tab lets focus leave and closes the menu. Opening the menu with Enter or Space on the toggle also focuses the first item, detected through a click with a zero detail, while a mouse click leaves focus on the toggle as before. When the menu closes after focus had been inside it, by activating an item or pressing Escape, focus returns to the toggle; an outside click leaves focus where the user put it. The existing outside-click registration is unchanged and the handlers are removed on dispose. A new OpenAsync method opens the menu, optionally focusing the first item, and is what the client calls. Five bUnit tests cover the roles, tab stops and menu name, the toggle attributes, the one-time client registration and its disposal, keyboard versus mouse activation and the client-initiated open. Playwright against the demo page confirms every keyboard path through the real DOM and that axe passes aria-required-children, aria-required-parent and nested-interactive on the open menu; the configuration demo gets an AriaLabel so its toggle has a name. Fixes #2790
2026-11-02 10:44:39 +02:00
2026-09-15 09:38:33 +03:00
2025-10-22 12:54:05 +03:00
2023-11-14 08:43:39 +02:00
2026-01-11 13:20:15 +02:00
2026-03-11 16:13:33 +02:00
2024-03-21 10:34:14 +02:00

Radzen Blazor Components

Radzen Blazor Components

The most sophisticated free UI component library for Blazor, featuring 155+ native components - DataGrid, Scheduler, Gantt, PivotDataGrid, an Excel-like Spreadsheet with formulas and XLSX import/export, and 30+ chart types drawn in C# as SVG with no JavaScript charting library - and the most complete AI toolkit for Blazor: AIChat with tool calling, approvals and attachments, AIPrompt, InlineAIPrompt and SmartPasteButton, built on Microsoft.Extensions.AI and working with any OpenAI-compatible provider. Free and open source under the MIT license, including commercial use, and used by thousands of developers at companies like Microsoft, NASA, Porsche, Dell, Siemens, and DHL.

Supports .NET 8, .NET 9 and .NET 10, Blazor Server, Blazor WebAssembly, and .NET MAUI Blazor Hybrid. AI coding assistants can use Radzen Blazor MCP for real-time access to the component docs and APIs.

Online Demos · Charts Gallery · Documentation · Get Started

Star this repo ⭐ to support the project and help other Blazor developers discover it.

GitHub StarsLicense - MITNuGet Downloads GitHub ReleaseRelease DateGithub Contributors Radzen Blazor Components - Online Demos

Quick start

Install the NuGet package:

dotnet add package Radzen.Blazor

Add to _Imports.razor:

@using Radzen
@using Radzen.Blazor

Add the theme and script to App.razor:

<!-- inside <head> -->
<RadzenTheme Theme="material" />

<!-- after the last <script> -->
<script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>

Register services in Program.cs:

builder.Services.AddRadzenComponents();

Use a component:

<RadzenButton Text="Hello World" Click="@OnClick" />

For the full setup guide including render modes and dialog/notification configuration, see the getting started instructions.

Components

AI — AIChat, Chat, Markdown, SpeechToTextButton

Data — DataGrid, DataList, PivotDataGrid, DataFilter, PickList, Pager, Tree, Scheduler, Gantt, Timeline, Spreadsheet, Charts (Line, Bar, Column, Area, Pie, Donut, Scatter, Bubble, Spider/Radar, BoxPlot, Bullet, Candlestick, OHLC, Pyramid, Funnel, Waterfall, HighLow, Range Area/Bar/Column, Step Line/Area, Stacked & Full-Stacked variants, Contour), Heatmap, Treemap, RangeNavigator, SankeyDiagram, GaugeCharts (Radial, Linear, Arc)

Forms — TextBox, TextArea, Password, Numeric, Mask, DatePicker, TimePicker, ColorPicker, Dropdown, AutoComplete, ListBox, CheckBox, RadioButtonList, Switch, Slider, Rating, FileInput, Upload, SecurityCode, SignaturePad, HtmlEditor, Button, SplitButton, Login

Layout — Card, Panel, Tabs, Accordion, Splitter, Tile Layout, Steps, Dialog, Fieldset, Stack, Row/Column, Sidebar, Carousel

Navigation — Menu, ContextMenu, PanelMenu, Breadcrumb, Link, TreeView, FabMenu, ProfileMenu

Feedback — Notification, Alert, ProgressBar, Badge, Tooltip, Skeleton, Chip, ChipList, AppearanceToggle

Utility — QRCode, Barcode, Gravatar, GoogleMap, DropZone (drag-and-drop)

Theming - 9 themes, each with light and dark variants. Free themes: Material, Standard, Default, Humanistic, Software. Premium themes (included with Radzen Blazor Pro): Material 3, Material 3 Expressive, Fluent, Zen. Full CSS variable customization and a built-in theme service for runtime switching.

Browse all components with live demos →

Why choose Radzen Blazor Components?

✨ Free and open source

MIT licensed and free for commercial use. No per-developer fees, no runtime royalties. Install from NuGet or build from source.

💻 100% native Blazor

Written entirely in C#. No JavaScript framework dependencies, no wrappers.

🌱 Actively maintained

Frequent releases with new components and features. Short development cycle — we ship as soon as new features are ready instead of batching into quarterly releases.

🏢 Trusted in production

Used by developers at Microsoft, NASA, Porsche, Dell, Siemens, Nokia, DHL, HSBC, Allianz, Accenture, Deloitte, and thousands of other organizations worldwide.

Support

💬 Community Support

Visit the Radzen Community forum — 400+ active weekly users with an average response time of 2 hours.

🎯 Radzen Blazor Pro

For dedicated support and additional productivity tools, the Radzen Blazor Pro subscription includes:

  • Radzen Blazor Studio — standalone Blazor IDE that provides WYSIWYG design canvas, database scaffolding, CRUD wizards, app templates, and deployment to IIS/Azure
  • Radzen Blazor for Visual Studio — Blazor tooling integrated into Visual Studio 2026
  • Radzen Blazor MCP — cloud-hosted MCP server that gives AI coding assistants (Cursor, Claude Code, GitHub Copilot, VS Code, Visual Studio, JetBrains) real-time access to Radzen component docs, APIs, and ready-made templates
  • Premium themes and theme customization tools
  • Dedicated support with guaranteed 24-hour response time and priority fixes

Run demos locally

Use Radzen.Server.sln to open and run demos as Blazor server application or Radzen.WebAssembly.sln to open and run demos as Blazor WebAssembly application. The demos require the .NET 10 SDK and should preferably be opened in VS2026.

Description
No description provided
Readme 92 MiB
Latest
2026-02-16 21:36:52 +00:00
Languages
C# 66.8%
HTML 24.4%
SCSS 6.4%
JavaScript 2.3%