Skip to content

CheckBox-DEMO


vue
<fv-checkBox>Indeterminate checkbox</fv-checkBox>

CheckBox-Disabled


vue
<fv-checkBox disabled>Disabled checkbox</fv-checkBox>

CheckBox-Disabled


vue
<fv-checkBox boxSide="end">Checkbox rendered with boxSide "end"</fv-checkBox>

CheckBox-Custom


  1. Set border width.
vue
<fv-checkBox v-model="value" :borderWidth="2">Checkbox rendered with borderWidth "2"</fv-checkBox>
  1. Set background and border color.
vue
<fv-checkBox v-model="value" borderColor="rgba(0,204,153,1)" foreground="rgba(0,204,153,1)" background="rgba(0,204,153,1)">Checkbox</fv-checkBox>

Properties


PropertyTypeRequiredDefaultDescription
modelValuestringNo''Checkbox value
foregroundstringNo''Checkbox foreground
borderColorstringNo''Checkbox borderColor
backgroundstringNo'rgba(0, 90, 158, 1)'Checkbox background
boxSidestringNo'start'CheckBox text font weight
disabledbooleanNofalseDisabled checkbox
borderWidthnumberNo1.5Checkbox border width
themestringNo'global'Theme style. Supports global, light, dark, system, and custom.
langstringNo"global"See the CheckBox lang option.

Events


EventArgumentsDescription
clickvalueCheckbox onclick

MIT Licensed