Checkbox group
Rendering multiple Checkbox elements in React to form a group of checkboxes. The selected values are stored in an array provided by the CheckboxProvider
component.
import "./style.css";
export default function Example() {
return (
<label className="label">
</label>
<label className="label">
</label>
<label className="label">
</label>
);
}
Components
CheckboxSelect one or more options in a list or toggle a single option using a native or custom checkbox in React. This component is based on the WAI-ARIA Checkbox Pattern.
GroupGroup related elements in a generic container that may have a label. This abstract component is based on the WAI-ARIA Group Role.
Follow updates
Join 1,000+ subscribers and receive monthly updates with the latest improvements on Examples.