Home / Function/ TabsWithContent() — ui Function Reference

TabsWithContent() — ui Function Reference

Architecture documentation for the TabsWithContent() function in tabs-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  4b4b7971_0b40_de74_4f43_50bdddb0c18f["TabsWithContent()"]
  dd1a6104_63fe_63e2_e50f_c437e305bec0["tabs-example.tsx"]
  4b4b7971_0b40_de74_4f43_50bdddb0c18f -->|defined in| dd1a6104_63fe_63e2_e50f_c437e305bec0
  style 4b4b7971_0b40_de74_4f43_50bdddb0c18f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/tabs-example.tsx lines 189–212

function TabsWithContent() {
  return (
    <Example title="With Content">
      <Tabs defaultValue="account">
        <TabsList>
          <TabsTrigger value="account">Account</TabsTrigger>
          <TabsTrigger value="password">Password</TabsTrigger>
          <TabsTrigger value="notifications">Notifications</TabsTrigger>
        </TabsList>
        <div className="style-nova:p-4 style-vega:p-6 style-maia:p-6 style-mira:p-4 style-lyra:p-4 style-nova:rounded-lg style-vega:rounded-lg style-maia:rounded-xl style-mira:rounded-md style-lyra:rounded-none border">
          <TabsContent value="account">
            Manage your account preferences and profile information.
          </TabsContent>
          <TabsContent value="password">
            Update your password to keep your account secure.
          </TabsContent>
          <TabsContent value="notifications">
            Configure how you receive notifications and alerts.
          </TabsContent>
        </div>
      </Tabs>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

What does TabsWithContent() do?
TabsWithContent() is a function in the ui codebase, defined in apps/v4/registry/bases/base/examples/tabs-example.tsx.
Where is TabsWithContent() defined?
TabsWithContent() is defined in apps/v4/registry/bases/base/examples/tabs-example.tsx at line 189.

Analyze Your Own Codebase

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

Try Supermodel Free