Checkbox Tiles
Checkbox tiles present with significant choices among multiple options.
On this page:
Best Practices
- Please read Label Guidance first.
- Put them into columns for sizing.
- If only one item can be selected, use Radios.
- If the user needs to activate or deactivate something, use a Switch instead.
- Ensure the
id
of the input matches thefor
of the Label. - If you need more than four, use a normal Checkbox instead.
- Omit the tile description span with
tile-description
if you don’t need it.
Usage
<div class="form-check checkbox-tile">
<input class="form-check-input" id="check-historical-truth-2" type="checkbox" name="historical-figures" value="sojourner-truth" />
<label class="form-check-label" for="check-historical-truth-2">Sojourner Truth</label>
</div>
<div class="form-check checkbox-tile">
<input class="form-check-input" id="check-historical-booker-2" type="checkbox" name="historical-figures" value="sojourner-truth" />
<label class="form-check-label" for="check-historical-booker-2">
Booker T. Washington
<span class="tile-description">
This is optional text that can be used to describe the Label in more detail.
</span>
</label>
</div>