Skip to content

Import

import { Checkbox } from '@dnb/eufemia'

Description

The Checkbox component is displayed as a square box that is ticked (checked) when activated. Checkboxes let users select one or more options from a limited number of choices.

Relevant links

Accessibility

Checkbox components use semantic <input type="checkbox"> elements, ensuring full keyboard accessibility (Space to toggle) and proper state announcement by screen readers. Labels are properly associated using htmlFor attributes.