Components
tab-provider
Code

TabProvider

TabProvider(props?): JSX.Element

Provides a tab store to Tab components.

Parameters

NameType
props?TabProviderProps

Returns

JSX.Element

See

https://ariakit.org/components/tab (opens in a new tab)

Example

<TabProvider>
  <TabList>
    <Tab>For You</Tab>
    <Tab>Following</Tab>
  </TabList>
  <TabPanel>For You</TabPanel>
  <TabPanel>Following</TabPanel>
</TabProvider>

Defined in

node_modules/.pnpm/@ariakit+react-core@0.3.5_react-dom@18.2.0_react@18.2.0/node_modules/@ariakit/react-core/cjs/tab/tab-provider.d.ts:18