Skip to content
↑↓ to navigate↵ to openesc to close

Menu

Checkbox

Checkbox

Checkbox.vue

With Description

Checkbox.vue

API Reference

v-model?
boolean
Defaultfalse
disabled?
boolean
Default—
indeterminate?
boolean
Default—
label?
string
Default—
description?
string

Supporting text under the label, announced as the description rather than the name.

Default—
class?
string
Default—
id?
string
Default—
aria-label?
string
Default—
aria-describedby?
string

Associates an external message (e.g. a form error) with the control.

Default—
labels?
Partial<CheckboxMessages>

Override any built-in string.

Default—
name?
string
Default—
value?
string
Defaulton
required?
boolean
Default—
ariaLabel?
string
Default—
ariaDescribedby?
string

Associates an external message (e.g. a form error) with the control.

Default—

Install

Add it with your package manager, or copy the source manually.

Run it in a project set up with shadcn-vue. The source is copied to components/beui and its dependencies are added to your package.json. Read the shadcn-vue guide

bunx --bun shadcn-vue@latest add @beui-vue/checkbox

Import the shared styles once in your application.

TSUsage
import Checkbox from '@/components/beui/controls/Checkbox.vue'
import '@/components/beui/styles.css'
Also on React Native. A checkmark that draws itself in.(opens in a new tab)

Updated