generated:catalog.entry.checkbox.title
generated:catalog.entry.checkbox.description
@xngui/components/checkbox@xngui/components/checkboxchrome:demo.section
chrome:demo.preview
import { Component } from '@angular/core';
import { XCheckbox } from '@xngui/components/checkbox';
import { XForm } from '@xngui/components/form';
@Component({
selector: 'app-example',
imports: [XCheckbox, XForm],
templateUrl: './checkbox.component.html',
})
export class ExampleComponent {}
chrome:demo.events.title
chrome:demo.events.empty
chrome:demo.api.title
x-checkbox
chrome:demo.api.col.property
chrome:demo.api.col.type
chrome:demo.api.col.default
chrome:demo.api.col.description
sizeXSize—Visual size tier — falls back to XConfigService when unset.
densityXDensity—Spacing offsets — orthogonal to `size`; falls back to XConfigService when unset.
labelstring''Visible label text beside the checkbox.
descriptionstring''Optional helper text under the label (shadcn FieldDescription pattern).
indeterminatebooleanfalseMixed checked state — clear when the user toggles the control.
ariaLabelstring—Accessible name when no visible `label` is provided.
controlIdstring—Native `id` on the control; falls back to `name`, then a generated id.
disabledbooleanfalseKept in sync by `[formField]`; set directly for standalone use.
readonlybooleanfalseValue-only input — user cannot change when true.
invalidbooleanfalseMarks the control invalid for styling and ARIA.
requiredbooleanfalseMarks the control as required for validation and ARIA.
namestring''Native form control `name` attribute.