Marai.UI is a free, open-source component library for building fast, consistent, and customizable applications powered by Tailwind CSS
Everything you need to build production-ready Blazor applications.
Built from the ground up for Blazor. No JavaScript wrappers, no hacks — pure Razor components that feel natural.
Minimal dependencies and tree-shakeable design. Only ship what you use — keeping your app fast.
Every component is built with CSS custom properties. Adapt colors, spacing, and shapes to match your brand.
ARIA attributes, keyboard navigation, and focus management built in — so your users never get left behind.
Get up and running in minutes.
Add Marai.UI to your Blazor project via the .NET CLI.
dotnet add package Marai.UIAdd Marai.UI to your dependency injection container in Program.cs.
builder.Services.AddMaraiUI();Add the namespace to _Imports.razor so components are available everywhere.
@using Marai.UIDrop any Marai.UI component into your page and you're good to go.
<MButton Class="px-4 py-2 rounded bg-blue-600 text-white hover:bg-blue-700">Click me</MButton>Explore all available components and start shipping today.