TabsTrigger() — ui Function Reference
Architecture documentation for the TabsTrigger() function in tabs.tsx from the ui codebase.
Entity Profile
Dependency Diagram
graph TD 6c3ff074_b399_6ed6_d5c8_96d243c6426f["TabsTrigger()"] 02fb30cf_3a67_3f57_2bae_61554596ce16["tabs.tsx"] 6c3ff074_b399_6ed6_d5c8_96d243c6426f -->|defined in| 02fb30cf_3a67_3f57_2bae_61554596ce16 style 6c3ff074_b399_6ed6_d5c8_96d243c6426f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
deprecated/www/registry/default/ui/tabs.tsx lines 28–37
>(({ className, ...props }, ref) => (
<TabsPrimitive.Trigger
ref={ref}
className={cn(
"inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 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-sm",
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/default/ui/tabs.tsx.
Where is TabsTrigger() defined?
TabsTrigger() is defined in deprecated/www/registry/default/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