Home / Function/ TabsList() — ui Function Reference

TabsList() — ui Function Reference

Architecture documentation for the TabsList() function in tabs.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  a5fe0104_4b49_0540_1d2d_eef33bc57a26["TabsList()"]
  58f9ffee_dc1c_26dd_0cc1_6f1362eafce0["tabs.tsx"]
  a5fe0104_4b49_0540_1d2d_eef33bc57a26 -->|defined in| 58f9ffee_dc1c_26dd_0cc1_6f1362eafce0
  style a5fe0104_4b49_0540_1d2d_eef33bc57a26 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/examples/radix/ui/tabs.tsx lines 41–55

function TabsList({
  className,
  variant = "default",
  ...props
}: React.ComponentProps<typeof TabsPrimitive.List> &
  VariantProps<typeof tabsListVariants>) {
  return (
    <TabsPrimitive.List
      data-slot="tabs-list"
      data-variant={variant}
      className={cn(tabsListVariants({ variant }), className)}
      {...props}
    />
  )
}

Subdomains

Frequently Asked Questions

What does TabsList() do?
TabsList() is a function in the ui codebase, defined in apps/v4/examples/radix/ui/tabs.tsx.
Where is TabsList() defined?
TabsList() is defined in apps/v4/examples/radix/ui/tabs.tsx at line 41.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free