Tailwind CSS Tabs - Props

The following props are available for tabs component. These are the custom props that we've added for the tabs component and you can use all the other native props as well.

Attribute Type Description Default
dataobject array Define tabs data none
selectedstring The tab(label) to be selected by default First tab

Types - Data

type data = [
    {
      label: "String"
      value: "String"
      icon: "fontawesome icon string"
      desc: "String"
    },
];