Checkbox

Image + CodePen

Example Usage

<vui-form-row>
  <vui-checkbox name="gdpr" label="I agree with terms of GDPR." @handleCheck="handleCheck"/>
</vui-form-row>

API

Props:

Name

Value

Required

Description

name

String

true

Name for input

label

String

false

Label for input

handleCheck

Function

false

It's called when input is checked

Last updated