Tabs
The tabs is a disclosure component to navigate between multiple content sections.
Import
Importimport { Tabs } from '@backyard-ui/core';Usage
UsageIcon
IconTo use some icon just put it into the TabsTrigger.
Disabled
DisabledUse the isDisabled prop to disable some tabs.
Controlled
ControlledBy default, the Tabs are uncontrolled but you can make it controlled
API Reference
API ReferenceRoot
Root- colorDescription The Tab appearanceType
"primary" | "secondary" | "tertiary"Defaultprimary - asChildDescriptionType
boolean
List
List- isLoopDescriptionType
boolean - asChildDescriptionType
boolean
Trigger
Trigger- isDisabledDescriptionType
boolean - asChildDescriptionType
boolean
Content
Content- asChildDescriptionType
boolean