Skip to content

Checkbox

Checkbox input with toggle/switch variant and indeterminate state support. Can be used standalone or within CheckboxGroup.

Import

typescript
import { Checkbox } from 'vuiii'

Basic Usage

vue
// Basic usage
import { Checkbox } from 'vuiii'

<Checkbox v-model="accepted" label="I accept the terms" />

More Examples

vue
// Switch variant (toggle)
<Checkbox v-model="enabled" switch label="Enable notifications" />
vue
// With description
<Checkbox
  v-model="newsletter"
  label="Subscribe to newsletter"
  description="Get weekly updates about new features"
/>
vue
// Required checkbox
<Checkbox v-model="terms" required label="I agree to the terms" />

Storybook

For interactive examples with all variants, see Checkbox in Storybook.

Released under the MIT License.