Controller Card

PRO

The ControllerCard component helps you to simply create a beautiful controller card that is switchable between on and off states.


Demo

On

wifi

Wifi

Active

Props Information

NameTypeDefaultDescription
item*Objectitem is a required object used to set the details for the ControllerCard component. It has the following keys:
  1. state of type boolean.
  2. description of type string.
  3. label of type object with the following keys:
    1. text of type string.
    2. class of type string
slotThe ControllerCard component has a default slot that is used to pass icon or node.
Contents