Default Light
MgLibrary
Overview
Installation
Buttons
Cards
Charts
Codes
Data Grids
Dropdowns
Editors
Headers & Animations
Icons
Indicators
Inputs
Lists
Modals
Menus
Panels
Pills & Chips
Scheduling
Tabs
Time Line
Trees
Customization

Checkbox

Themed checkbox component examples.

Use this example to explore default behavior, customization points, and accessibility-friendly patterns in a real Blazor page.

Checkbox

MgCheckbox

A themed checkbox component for boolean selections.

API Reference

MgCheckbox

Property Type Default Description
DisplayText string "" Label text shown next to the checkbox.
Value / bind-Value bool false Current checked state; bind for two-way updates.
Disabled bool false When true, prevents user interaction.
An unhandled error has occurred. Reload 🗙