The Tabs component provides a way to navigate between different views in the same context.
import { TabBar } from "@ds-kit/tabs"
<TabBar items={[{ key: 0, label: "Item 1" }, { key: 1, label: "Item 2" }]} />
selected
number
0
items
array
onChange
func
sideOffset
number
48
tabProps
object
{}
borderColor
string
"grey.100"
activeColor
string
"primary"
activeTextColor
string
"inherit"
color
string
"inherit"
height
string
array
"2.5rem"
render
node
scrollBehavior
string
"smooth"