Examples
With description and body
Both together.
A longer explanation of what checking this means.
Extra body content — fine print or links can live here.
Documentation
Checkbox props
Parameters accepted by
{#include components/forms/check ... /} — the runtime template is named
check.html to mirror PF's .pf-v6-c-check class. Model
mode: pass check=<Check> built in Java instead — the Java tab on each example
shows the builder.
| Name | Type | Description |
|---|---|---|
* id
|
String |
id of the input. Wrapper gets {id}-wrap.
|
label
|
String | Visible label. Required for non-standalone checkboxes. |
checked / disabled /
required
|
boolean | Standard HTML form attributes. |
description
|
String | Secondary muted text under the label — wired with aria-describedby. |
body
|
String (HTML) | Extra content under label/description. |
standalone
|
boolean |
No label — emits pf-m-standalone. Pair with
ariaLabel.
|
reversed
|
boolean | Label before input via DOM order — PF v6 has no reversed modifier class. |
ariaLabel
|
String | Accessible label for standalone checkboxes. |