RayCraftDocs
v1.0.3 raycraft.dev
On this page

ButtonGroup

Free

Joins buttons into one segmented control, horizontally or vertically. Combine it with ToggleButton for a view switcher.

Example

ButtonGroup control

Parameters

ParameterTypeDescription
ChildContentRenderFragmentContent rendered inside the component.
ClassstringExtra CSS classes added to the root element.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
StylestringInline style added to the root element.
VerticalboolLays out or draws vertically instead of horizontally.

Package

ButtonGroup is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.