The Angular Split Button triggers a default action when the primary button is clicked and provides a list of actions when the drop-down button is clicked. It has built-in support for icons and their positioning, varied sizes, disabling items, separators, RTL, and UI customization.
You can make use of different split button sizes, default and small.
Users tend to perceive visual information better than text. The Angular Split Button has built-in options to include an icon to the left or above the text or provide an icon-only button.
The pop-up is a toggleable container that holds a list of action items or custom content that will open or close when the button is clicked. You can customize all the items in a pop-up.
You can use a horizontal line separator to represent similar action items as a group within the list of available items.
Split Button is also available in Blazor, React, Vue, and JavaScript frameworks. Check out the different Split Button platforms from the links below,
The Angular Split Button supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
In Split Button, you have Component over all the UI elements and its behaviors. This provides the best user experience to users through a rich set of developer-friendly APIs.
Easily get started with the Angular Split Button using a few simple lines of TS codes as demonstrated below. Also explore our Angular Split Button Example that shows you how to render and configure a Split Button in Angular.
<ejs-splitbutton content="Paste" [items]='items'></ejs-splitbutton>`
import { Component } from '@angular/core';
import { ItemModel } from '@syncfusion/ej2-angular-splitbuttons';
@Component({
selector: 'app-root',
template: `<!-- To Render splitbutton. -->
<ejs-splitbutton content="Paste" [items]='items'></ejs-splitbutton>`
})
export class AppComponent {
public items: ItemModel[] = [
{ text: 'Cut'},
{ text: 'Copy'},
{ text: 'Paste'}
];
}
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.