Radzen Blazor Components

ToggleButton

Radzen Blazor ToggleButton is a button that changes its appearance or color when activated and returns to its original state when deactivated.

Toggle buttons are versatile and can be used for various purposes, including filtering. You could have toggle buttons for different categories or criteria, and users can activate or deactivate them to filter content based on their preferences. For example, if you have a list of items and each item belongs to a certain category, toggle buttons could be used to show or hide items from specific categories, creating a customized and dynamic filtering system.

Bound ToggleButton link

Binding Radzen ToggleButton's Value.

south

Notifications

OFF

ToggleButton Shade link

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

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

ToggleButton Variants link

Use Variant for different button variants.

Content in ToggleButtons link

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

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

Disabled ToggleButton link

Use Disabled="true" to disable a button.

Keyboard Navigation link

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.
All the tools in one place

Code Less. Deliver More.

With Radzen Subscription you get the full toolkit. Get started now and save hours on every project.

task_alt

Complete Blazor development environment.

task_alt

Open technology stack. No vendor lock-in.

task_alt

Ready-to-use UI blocks and app templates.

task_alt

Advanced theming.

task_alt

Dedicated support backed by proven expertise.

task_alt

No hidden runtime costs.

Radzen Blazor Studio

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

Demos Configuration

Premium Themes

  • Material 3
  • Material 3 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 🗙