Components
- Components from U.S. Web Design System
- Set up in Trap Kit template as
includes
- Reusable
- Cleaner content files
- Easily configurable
- Component kitchen sink
{% include components/checkbox.html labels="This applies|Also this one|Don’t forget about me" %}
<fieldset class="usa-fieldset">
<legend class="usa-legend">Select any historical figure</legend>
<div class="usa-checkbox">
<input
class="usa-checkbox__input"
id="check-historical-truth"
type="checkbox"
name="historical-figures"
value="sojourner-truth"
checked="checked"/>
<label class="usa-checkbox__label" for="check-historical-truth">Sojourner Truth</label>
</div>
</fieldset>