Skip to content
ShardUI Blazor documentation

The Foundation for Your Blazor Design System

Beautifully designed components inspired by shadcn/ui and adapted for Blazor. Customize, extend, and compose them into your own system.

From component to composition

What do you want to build?

Try a complete interaction, see the Razor, then make it your own. These demos stay in your browser.

Explore all components

Build a form

TextInput · Checkbox · Button

Try changing a field, then save. Nothing leaves this page.

Add validation with Form

Manage data

Table · Badge · TextInput

Razor ยท Manage data
<Label HtmlFor="projects">Find a project</Label>
<TextInput id="projects" @bind-Value="query" Inmediate="true" type="search" />
<Table>
    <TableHeader>
        <TableRow><TableHead scope="col">Project</TableHead><TableHead scope="col">Status</TableHead></TableRow>
    </TableHeader>
    <TableBody>
        @foreach (var project in projects.Where(p => p.Name.Contains(query, StringComparison.OrdinalIgnoreCase)))
        {
            <TableRow>
                <TableCell>@project.Name</TableCell>
                <TableCell><Badge Variant="BadgeVariantsIntent.Secondary">@project.Status</Badge></TableCell>
            </TableRow>
        }
    </TableBody>
</Table>

@code {
    private string query = "";
    private readonly (string Name, string Status)[] projects =
        [("Website", "In progress"), ("Design system", "Review"), ("Mobile app", "Planned")];
}

Includes state and event handlers. Uses the standard ShardUI imports.

Explore table examples

Design settings

Switch · Label · Separator

Updates about your workspace.

A summary at your own pace.

Email on ยท Digest off. Preview settings only.

Explore settings controls

Small pieces. Real possibilities.

Try the controls. These are local UI demos; no data is sent or saved.

Explore all components
Find your starting point
From your first button to a complete screen.
Payment Method
Form composition demo. Use fictional details only.

Enter your 16-digit card number.

Billing Address

The billing address associated with your payment method

Explore forms
CN ML ER
No Team Members
Invite your team to collaborate on this project.
Syncing Updating Loading

Price Range

Set your budget range ($20 - 80).

83 results
Open matching components โ†’
52% used
https://
Two-factor authentication
Verify via email or phone number.
Your profile has been verified.
Appearance Settings
Compute Environment

Select the compute environment for your cluster.

Number of GPUs

You can add more later.

Allow the wallpaper to be tinted.

Your first component

<Button OnClick="@(() => count++)">
    Try it
</Button>

@code { private int count; }

A real ShardUI button. Give it a click.

View Button examples
How did you hear about us?

Select the option that best describes how you heard about us.

Processing preview
An example loading state. There is no background request.
An unhandled error has occurred. Reload ๐Ÿ—™

    Rejoining the server...

    Rejoin failed... trying again in seconds.

    Failed to rejoin.
    Please retry or reload the page.

    The session has been paused by the server.

    Failed to resume the session.
    Please reload the page.