Skip to main content

Variable: TabsContent

@arolariu/components


@arolariu/components / TabsContent

Variable: TabsContent

const TabsContent: ForwardRefExoticComponent<Omit<TabsContentProps, "ref"> & RefAttributes<HTMLDivElement>>

Defined in: components/ui/tabs.tsx:157

Renders the content panel associated with the active tab.

Remarks

  • Renders a <div> element by default
  • Built on Base UI Tabs
  • Supports the render prop for element composition
  • Styling via CSS Modules with --ac-* custom properties

Example

<TabsContent value="overview">Content</TabsContent>

See

Base UI Documentation

// was this page useful?