Checkbox Group
A checkbox group allows a user to select multiple items from a list of options.
Notifications
Installation
Install via VScode or copy and paste the code below into a new file, preferably in a folder at components/base.
BaseLayer
Examples
Default
Notifications
bl-checkbox-group
import { Checkbox } from "@/components/base/checkbox";
import { CheckboxGroup } from "@/components/base/checkboxGroup";
export const CheckboxGroupExample = () => {
return (
<CheckboxGroup label="Notifications">
<Checkbox value="push"> Push </Checkbox>
<Checkbox value="email"> Email </Checkbox>
<Checkbox value="text"> Text </Checkbox>
</CheckboxGroup>
);
};