Home / Function/ TabsWithInputAndButton() — ui Function Reference

TabsWithInputAndButton() — ui Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c0e775d7_2af7_cae7_cef2_a562334b3566["TabsWithInputAndButton()"]
  8b935873_324f_276b_ff32_c08eebcb2ffb["tabs-example.tsx"]
  c0e775d7_2af7_cae7_cef2_a562334b3566 -->|defined in| 8b935873_324f_276b_ff32_c08eebcb2ffb
  style c0e775d7_2af7_cae7_cef2_a562334b3566 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/tabs-example.tsx lines 331–359

function TabsWithInputAndButton() {
  return (
    <Example title="With Input and Button" containerClassName="col-span-full">
      <Tabs defaultValue="overview" className="mx-auto w-full max-w-lg">
        <div className="flex items-center gap-4">
          <TabsList>
            <TabsTrigger value="overview">Overview</TabsTrigger>
            <TabsTrigger value="analytics">Analytics</TabsTrigger>
          </TabsList>
          <div className="ml-auto flex items-center gap-2">
            <Input placeholder="Search..." className="w-44" />
            <Button>Action</Button>
          </div>
        </div>
        <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="overview">
            View your dashboard metrics and key performance indicators.
          </TabsContent>
          <TabsContent value="analytics">
            Detailed analytics and insights about your data.
          </TabsContent>
          <TabsContent value="reports">
            Generate and view custom reports.
          </TabsContent>
        </div>
      </Tabs>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free