BPT

CheckBox

BptCheckBox

The BptCheckBox component provides a checkbox with label placement options, color support, indeterminate state, and three size variants.

CheckBox Parameters

Value: False

Current Configuration
📋
<BptCheckBox @bind-Value="isChecked"
             Label="Accept terms and conditions"
             Size="BptComponentSize.Medium"
             LabelPlacement="BptLabelPlacement.Right"
             OnClick="HandleClick" />

@code {
    private bool isChecked = false;

    private void HandleClick(bool newValue)
    {
        Console.WriteLine($"Checked: {newValue}");
    }
}
Related learning

See the Form Controls tutorial for a step-by-step walkthrough.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please reload the page.