CheckBox is a two-state toggle control (checked/unchecked) with a label/content.
var accepted = new State<bool>(false);
new CheckBox("Accept terms")
.IsChecked(accepted);
The label can be a Visual, and spacing between glyph and label is controlled by CheckBoxStyle.
Space / Enter: toggle when focused.HorizontalAlignment = Align.Start, VerticalAlignment = Align.StartCheckBoxStyle controls glyphs, spacing, and colors for normal/hover/focused/disabled states.