TabsTrigger() — ui Function Reference
Architecture documentation for the TabsTrigger() function in tabs.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD b63b2282_9c2e_a467_320d_93b22adea4bb["TabsTrigger()"] 64da834c_1398_b24d_7bf8_c9f35471951e["tabs.tsx"] b63b2282_9c2e_a467_320d_93b22adea4bb -->|defined in| 64da834c_1398_b24d_7bf8_c9f35471951e style b63b2282_9c2e_a467_320d_93b22adea4bb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/new-york/ui/tabs.tsx lines 28–37
>(({ className, ...props }, ref) => (
<TabsPrimitive.Trigger
ref={ref}
className={cn(
"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
className
)}
{...props}
/>
))
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does TabsTrigger() do?
TabsTrigger() is a function in the ui codebase, defined in deprecated/www/registry/new-york/ui/tabs.tsx.
Where is TabsTrigger() defined?
TabsTrigger() is defined in deprecated/www/registry/new-york/ui/tabs.tsx at line 28.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free