Tabs

Tabs - as Links

<Tabs
  asLinks={true}
  className="w-full sm:w-auto"
  tabs={[
    { name: "Home", routePath: "/docs/components" },
    {
      name: "Components",
      routePath: "/docs/components/tabs",
    },
  ]}
/>

Tabs - as Buttons

Tab 1 Content...
<div className="w-full space-y-2">
  <Tabs
    asLinks={false}
    onSelected={(selected) => {
      setSelectedTab(selected);
    }}
    className="w-full sm:w-auto"
    tabs={[{ name: "Tab 1" }, { name: "Tab 2" }, { name: "Tab 3" }]}
  />
  <div className="border border-gray-300 bg-gray-100 p-2">
    {selectedTab === 0 ? <div>Tab 1 Content...</div> : selectedTab === 1 ? <div>Tab 2 Content...</div> : <div>Tab 3 Content...</div>}
  </div>
</div>

Tabs - Vertical

<TabsVertical
  asLinks={true}
  className="w-full sm:w-auto"
  tabs={[
    { name: "Home", routePath: "/docs/components" },
    {
      name: "Components",
      routePath: "/docs/components/tabs",
    },
  ]}
/>

cookies.titleSmall

cookies.descriptionSmall shared.learnMore.