Switch

Demonstration and configuration of the Radzen Blazor Switch component.

These demos showcase a toggle switch component with two-way data binding for on/off states, keyboard navigation support, and disabled state configuration.

Get and set the value link

As all Radzen Blazor input components the Switch has a Value property which gets and sets the value of the component. Use @bind-Value to get the user input.

Console log

Keyboard Navigation link

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

Press this key To do this
Tab Navigate to a Switch.
Space or Enter Toggle Switch.

Disabled Switch link

To disabled the switch, set Disabled="true"

✨ 오늘의 명언 & 마음의 양식

“배우고 때때로 익히면 또한 기쁘지 아니한가.”

— 논어 (고전 명언)
On this page

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 🗙