We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor Button Group is a series of buttons aligned vertically or horizontally. It has several built-in features such as predefined styles, selection, nesting, rounded corners, RTL, and UI customization.


Orientation

Align the Blazor button group component either in vertical or horizontal orientation.


Selection

Based on the type of selection, you can select one or more buttons from a group.

Single selection

Select one button from a group.

Multiselection

Select one or more buttons from a group.


Split and Drop-down buttons

Drop-down and split buttons in the Blazor Button Group component let you nest buttons.

Blazor Dropdown button integration in Button group

Blazor Split button integration in Button group


Predefined styles

Several predefined styles of button are available in the Blazor button group:

  • Primary
  • Success
  • Info
  • Warning
  • Danger

Rounded button group

Take advantage of CSS styling to give button corners a rounded look.


Multicolor buttons

Differentiate each button in a group with different colors based on the actions performed with them.


Customization

Customize the Blazor Button Groups with icons and outline. The size of the button can be changed. You can also disable a particular button or all of them.


Accessibility

  • Fully supports WAI-ARIA accessibility to work with screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Follows WCAG 2.0standards in the design of the UI element visuals such as foreground color, background color, line spacing, text, and images.
  • Supports right-to-left (RTL) text direction for users working in languages like Hebrew, Arabic, and Persian.

Built-in themes

The Blazor Button Group supports several built-in themes such as Tailwind CSS, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, Fluent, and high contrast. Users can customize one of these built-in themes or create new themes to achieve their desired look and feel by simply overriding SASS variables or using our Theme Studio application.


Blazor Button Group Code Example

Easily get started with the Blazor Button Group using a few simple lines of C# code as demonstrated below. Also explore our Blazor Button Group Example that shows you how to render and configure the button group in Blazor.

@using Syncfusion.Blazor.SplitButtons
<div>
<div class="row">
    <p class="h5">Single selection</p>
    <SfButtonGroup Mode="SelectionMode.Single">
       <ButtonGroupButton @bind-Selected="@leftSelected">Left</ButtonGroupButton>
       <ButtonGroupButton @bind-Selected="@centerSelected">Center</ButtonGroupButton>
       <ButtonGroupButton @bind-Selected="@rightSelected">Right</ButtonGroupButton>
    </SfButtonGroup>
</div>
<div class="row">
    <p class="h5">Multiple selection</p>
    <SfButtonGroup Mode="SelectionMode.Multiple">
       <ButtonGroupButton @bind-Selected="@boldSelected">Bold</ButtonGroupButton>
       <ButtonGroupButton @bind-Selected="@italicSelected">Italic</ButtonGroupButton>
       <ButtonGroupButton @bind-Selected="@underlineSelected>Underline</ButtonGroupButton>
    </SfButtonGroup>
</div>
</div>
@code {
    private bool boldSelected = true;
    private bool italicSelected;
    private bool underlineSelected;
    private bool leftSelected;
    private bool centerSelected;
    private bool rightSelected;
}

Other supported frameworks

Button Group is also available in Angular, React, Vue and JavaScript frameworks that are built from their own TypeScript libraries. Check out the different Button Group platforms from the links below,




Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark 85+ UI components
tick-mark 960+ interactive Blazor demos
tick-mark 2.1M+ downloads
competitive-banner-FT-image

Blazor Components – 85+ UI and DataViz Components

Frequently Asked Questions

  • Selection of one or more options from predefined choices with single or multiple selection modes.
  • Support for nesting with a dropdown menu and split button.
  • Industry-standard themes are included: Material, Fabric, and Bootstrap.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Touch friendly and responsive UI.
  • One of the best Blazor Button group in the market that offers feature-rich UI to interact with the software.
  • Extensive demos, documentation and videos to learn quickly and get started with Blazor Button group.

We do not sell the Blazor Button Group separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the Blazor Button Group. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

You can find our Blazor Button Group demo here.

No, our 1,800+ components and frameworks for web, mobile, and desktop, including our Blazor Button Group, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their Button Group component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.

No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.

A good place to start would be our comprehensive getting started documentation.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion reduces customers’ development time.
Here are some of their experiences.

Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.

Up arrow icon