Home / Function/ TabsWithIcons() — ui Function Reference

TabsWithIcons() — ui Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

apps/v4/registry/bases/radix/examples/tabs-example.tsx lines 105–134

function TabsWithIcons() {
  return (
    <Example title="With Icons">
      <Tabs defaultValue="preview">
        <TabsList>
          <TabsTrigger value="preview">
            <IconPlaceholder
              lucide="AppWindowIcon"
              tabler="IconAppWindow"
              hugeicons="CursorInWindowIcon"
              phosphor="AppWindowIcon"
              remixicon="RiWindowLine"
            />
            Preview
          </TabsTrigger>
          <TabsTrigger value="code">
            <IconPlaceholder
              lucide="CodeIcon"
              tabler="IconCode"
              hugeicons="CodeIcon"
              phosphor="CodeIcon"
              remixicon="RiCodeLine"
            />
            Code
          </TabsTrigger>
        </TabsList>
      </Tabs>
    </Example>
  )
}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free