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
  92ebcd62_f48c_19eb_d722_0c684ed3cd58["TabsList()"]
  7a74e8c0_473c_36a8_ff5c_889e881df853["tabs.tsx"]
  92ebcd62_f48c_19eb_d722_0c684ed3cd58 -->|defined in| 7a74e8c0_473c_36a8_ff5c_889e881df853
  style 92ebcd62_f48c_19eb_d722_0c684ed3cd58 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/ui/tabs.tsx lines 42–56

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/registry/bases/radix/ui/tabs.tsx.
Where is TabsList() defined?
TabsList() is defined in apps/v4/registry/bases/radix/ui/tabs.tsx at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free