Blazor Button Group Component Example - Default Functionalities
The following sample demonstrates the default functionalities of default, single, and multiple selections in the ButtonGroup component.
The ButtonGroup
is a graphical user interface that groups series of buttons horizontally or vertically.
The above sample demonstrates the ButtonGroup component with icon only, text only, and text with icon combinations.
- Default: Triggers action on button click.
- Single selection: It selects a single button and submits its value on form submission.
- Multiple selection: It selects multiple buttons and submits its selected values on form submission. This is showcased with the first button selected, by default.
More information about Blazor ButtonGroup component can be found in this documentation section.