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

NameTypeDefaultDescription
idStringUsed to set the id of MaterialCheckbox.
colorStringdarkUsed to set the background color of MaterialCheckbox.
inputClassStringdarkUsed to apply class to the input of the MaterialCheckbox.
labelClassStringdarkUsed to apply class to the label of the MaterialCheckbox.
checkedboolUsed to set the checked state of MaterialCheckbox.
slotnodeThe 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

NameTypeDefaultDescription
id*StringUsed to set the id of MaterialSwitch. It is a required prop.
checkedboolUsed to set the checked state of MaterialSwitch.
labelClassStringUsed to add custom class around label element.
slotnodeThe MaterialSwitch has two slots. One default slot that receives node inside the label and another named description slot that receives node outside the label.