# Checkbox Group >> Overview ||10 A checkbox group enhances the functionality of the native `` element. Its purpose is to provide a way for users to check **multiple** options amongst a set of choices, or to function as a single toggle. > You should use our `checkbox` elements as children in checkbox group. ```js script import { html } from '@mdjs/mdjs-preview'; import '@lion/ui/define/lion-checkbox-group.js'; import '@lion/ui/define/lion-checkbox.js'; ``` ```js preview-story export const main = () => html` `; ``` > Make sure that the checkbox-group also has a name attribute, this is necessary for our [form](../form/overview.md)'s serialization result. ## Features Since it extends from our [fieldset](../fieldset/overview.md), it has all the features a fieldset has. ## Installation ```bash npm i --save @lion/ui ``` ```js import '@lion/ui/define/lion-checkbox-group.js'; import '@lion/ui/define/lion-checkbox.js'; ```