Radzen Blazor Components

Blazor ToggleButton

The Blazor ToggleButton switches between on and off states, changing its appearance when activated - ideal for toolbars and settings.

Bound ToggleButton Link to this section

Binding Radzen ToggleButton's Value.

Notifications

OFF

ToggleButton Shade Link to this section

Use ToggleButtonShade to define the shade of the ToggleButton's toggled active state.

Light and Dark button styles don't have Shades

ToggleButton Style Link to this section

Use ToggleButtonStyle to define the style of the ToggleButton's toggled active state.

ToggleButton Variants Link to this section

Use Variant for different button variants.

Content in ToggleButtons Link to this section

Text, icons and images can be added to a button. Use ToggleIcon in case you need to change the icon when the button is toggled.

ToggleButton Sizes Link to this section

Use the Size property to set button size. Available sizes are ExtraSmall, Small, Medium (default), and Large.

Disabled ToggleButton Link to this section

Use Disabled="true" to disable a button.

Keyboard Navigation Link to this section

The following keys or key combinations provide a way for users to navigate and interact with Radzen Blazor ToggleButton component.

Press this key To do this
Tab Navigate to a ToggleButton.
Enter Click and toggle the focused ToggleButton.
Space Click and toggle the focused ToggleButton.

Frequently asked questions

How do I bind the Blazor ToggleButton state?

Bind Value to a bool with @bind-Value; it is true when the button is toggled on and false when off.

Radzen Blazor Newsletter

Get an email when new components and releases ship.

All the tools in one place

Save Hours on Every Project

With Radzen Blazor subscription you get the full toolkit, including:

Dedicated support backed by proven expertise

Premium themes and theme editor

Ready-to-use UI blocks

Complete app templates

Visual design-time-experience

Radzen Blazor Studio

Radzen Blazor Components, © 2018-2026 Radzen.
Source Code licensed under MIT

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 Dark
  • Material 3 Expressive
  • Material 3 Expressive Dark
  • Fluent
  • Fluent Dark

Free Themes

  • Material
  • Material Dark
  • Standard
  • Standard Dark
  • Default
  • Dark
  • Humanistic
  • Humanistic Dark
  • Software
  • Software Dark
An error has occurred. This app may no longer respond until reloaded. Reload 🗙