Toggle Group

Toggle Group

A set of two-state buttons that can be toggled on or off.

Single Selection

Only one item can be selected at a time (radio behavior).

Selected: left

Multiple Selection

Multiple items can be selected simultaneously (checkbox behavior).

Selected:

Text Formatting

Common use case for text editors with live preview.

Sample text with formatting

API Reference

Component parameters and their types.

Prop Type Default Description
Type ToggleGroupType Single Single or Multiple selection mode.
Value @bind-Value / string? Selected value in Single mode.
Values @bind-Values / List<string>? Selected values in Multiple mode.

Reconnecting...

Attempting to rejoin the server

Connection Lost

Retrying in seconds

Connection Failed

Failed to rejoin the server.
Please retry or reload the page.

Session Paused

The session has been paused by the server

Resume Failed

Failed to resume the session.
Please reload the page.