Skip to main content

Checkbox

An easily stylable checkbox component.

Features

Installation

typo3 ui:add checkbox

Read more about installing Components and Primitives.

Examples

Default Checked

Set the checkbox to be checked by default.

Indeterminate State

Use the indeterminate state for "select all" checkboxes or partial selections.

Disabled

Prevent interaction with the checkbox.

Anatomy

<primitives:checkbox.root>
    <primitives:checkbox.control>
        <primitives:checkbox.indicator />
    </primitives:checkbox.control>
    <primitives:checkbox.label />
    <primitives:checkbox.hiddenInput />
</primitives:checkbox.root>