N
primitives switch

Switch

On/off toggle.

$ ndui add switch
Component docs

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" />