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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Trusted by the world’s leading companies

syncfusion trusted companies

Overview

The Angular Button Group is a series of buttons aligned vertically or horizontally. It has several built-in features such as predefined styles, selection, nesting, different sizes, rounded corners, RTL, UI customization and supports Material, Bootstrap, Fabric themes.


Orientation

Align the 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.

Radio button group for single selection

Select one button with the radio button type.

Checkbox button group for multiselection

Select one or more buttons with the check box button type.


Button group with Split and Drop-down buttons

Drop-down and split button components in the Button Group components let you nest buttons.

Angular JS2 Dropdown button integration in Button group

Angular JS2 Split button integration in Button group


Predefined styles

Several predefined styles of button are available in button group:

  • Primary
  • Success
  • Info
  • Warning
  • Danger

Rounded button group

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


Multicolor buttons

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


Custom button group

Customize the Button Group as an outline type, in a small size, and with icons. 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 right-to-left languages like Hebrew, Arabic, or Persian.

Built-in themes

The Angular Button Group supports several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, and High Contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.


Other supported frameworks

Button Group is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Button Group platforms from the links below,


Angular Button Group Code Example

Easily get started with the Angular Button Group using a few simple lines of HTML and TS code example as demonstrated below. Also explore the Angular Button Group example that shows how to render and configure the Button Group in Angular.

<div>                 
    <button ejs-button iconCss="bg-icons e-btngrp-watch"></button>
    <button ejs-button iconCss="bg-icons e-btngrp-star"></button>
    <button ejs-button iconCss="bg-icons e-btngrp-download"></button>                           
</div>
   
<style>
.e-btngrp-watch::before {
    content: '\e71b';
}
    
.e-btngrp-star::before {
    content: '\e710';
}
    
.e-btngrp-download::before {
    content: '\e712';
}
</style>
import { Component, ViewEncapsulation, OnInit, Inject } from '@angular/core';
import { rippleEffect } from '@syncfusion/ej2-base';

@Component({
    selector: 'control-content',
    templateUrl: 'button-group.html',
    encapsulation: ViewEncapsulation.None
})
 // To enable ripple in checkbox/radio type ButtonGroup.
    export class ButtonGroupController implements OnInit {
    ngOnInit(): void {
        // To enable ripple in checkbox/radio type ButtonGroup.
        let buttons: NodeListOf<Element> = document.querySelectorAll('label.e-btn');
        let button: HTMLElement;
        for (let i: number = 0; i < buttons.length; i++) {
            button = buttons.item(i) as HTMLElement;
            rippleEffect(button, { selector: '.e-btn' });
        }
    }    
 }



85+ ANGULAR UI COMPONENTS

Frequently Asked Questions

The Syncfusion Angular Button Group component supports the following features:

  • 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, Fluent, and Bootstrap.
  • Simple configuration and API.
  • Supports all modern browsers.
  • Touch friendly and responsive UI.
  • One of the best Angular Button Group in the market that offers feature-rich UI to interact with the software.
  • Extensive demos, anddocumentation to learn quickly and get started with Angular Button Group.

You can find our Angular Button Group demo here.

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

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
Live Chat Icon For mobile