Vue Checkbox - Material
Checkboxes are for selecting one or several options in a list. You can Create consistent cross-browser and cross-device checkboxes with our MaterialCheckbox
component.
Checkbox
Props Information
Name | Type | Default | Description |
---|---|---|---|
id | String | Used to set the id of MaterialCheckbox . | |
color | String | dark | Used to set the background color of MaterialCheckbox . |
inputClass | String | dark | Used to apply class to the input of the MaterialCheckbox . |
labelClass | String | dark | Used to apply class to the label of the MaterialCheckbox . |
checked | bool | Used to set the checked state of MaterialCheckbox . | |
slot | node | The MaterialCheckbox has a default slot that receives node inside the label. |
Vue Switch - Material
MaterialSwitch
is a simple component used for activating one of two predefined options. Commonly used as an on/off button. It's mostly used in a number of various forms since they are very simple to use and cut the time one needs to fill all the inputs.
Be sure that you will always be logged in.
Props Information
Name | Type | Default | Description |
---|---|---|---|
id* | String | Used to set the id of MaterialSwitch . It is a required prop. | |
checked | bool | Used to set the checked state of MaterialSwitch . | |
labelClass | String | Used to add custom class around label element. | |
slot | node | The MaterialSwitch has two slots. One default slot that receives node inside the label and another named description slot that receives node outside the label. |