Foundation UI
Checkbox, radio, switch
Choose one or several options. Includes selectable cards and pill chips used by the search filters.
Examples
Checkbox
Radio
Inline
Switch
Validation
You must agree before sending.
Selectable cards
Use type="radio" for one choice or type="checkbox" for several. The input stays in the page (visually hidden), so keyboard and screen readers work.
Toggle chips
Compact pill toggles for bedroom or bathroom counts and quick filters.
Classes
| Class | Purpose |
|---|---|
.form-check .form-check-input | Checkbox or radio. Add .form-check-inline to line items up. |
.form-switch + role="switch" | On/off toggle. |
data-indeterminate | Shows the mixed (dash) state on a checkbox. Set by site.js. |
.check-card-group + .check-card | Large selectable card with an icon and label. |
.chip-group + .chip | Pill toggle used with .btn-check inputs. |