primitives
switch
Switch
On/off toggle.
$
Component docs
ndui add switch
Settings row
Email notifications
Receive a weekly digest of activity.
Beta features
Enable experimental UI and APIs.
Analytics
Anonymously share usage telemetry.
Source
<Switch Label="Email notifications" @bind-Value="Model.EmailsEnabled" />
<Switch Label="Beta features" Description="Experimental UI"
@bind-Value="Model.Beta" />