Home / Function/ SidebarIconExample() — ui Function Reference

SidebarIconExample() — ui Function Reference

Architecture documentation for the SidebarIconExample() function in sidebar-icon-example.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  35890a9b_c9fb_b2f3_4439_e453ca6a8f00["SidebarIconExample()"]
  65d55c3c_d7fe_d567_dca6_76d1c884e3ca["sidebar-icon-example.tsx"]
  35890a9b_c9fb_b2f3_4439_e453ca6a8f00 -->|defined in| 65d55c3c_d7fe_d567_dca6_76d1c884e3ca
  style 35890a9b_c9fb_b2f3_4439_e453ca6a8f00 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/v4/registry/bases/base/examples/sidebar-icon-example.tsx lines 52–461

export default function SidebarIconExample() {
  const data = {
    user: {
      name: "shadcn",
      email: "m@example.com",
      avatar: "/avatars/shadcn.jpg",
    },
    teams: [
      {
        name: "Acme Inc",
        plan: "Enterprise",
      },
      {
        name: "Acme Corp.",
        plan: "Startup",
      },
      {
        name: "Evil Corp.",
        plan: "Free",
      },
    ],
    navMain: [
      {
        title: "Playground",
        url: "#",
        icon: (
          <IconPlaceholder
            lucide="TerminalSquareIcon"
            tabler="IconTerminal2"
            hugeicons="ComputerTerminalIcon"
            phosphor="TerminalIcon"
            remixicon="RiTerminalBoxLine"
          />
        ),
        isActive: true,
        items: [
          {
            title: "History",
            url: "#",
          },
          {
            title: "Starred",
            url: "#",
          },
          {
            title: "Settings",
            url: "#",
          },
        ],
      },
      {
        title: "Models",
        url: "#",
        icon: (
          <IconPlaceholder
            lucide="BotIcon"
            tabler="IconRobot"
            hugeicons="RoboticIcon"
            phosphor="RobotIcon"
            remixicon="RiRobotLine"
          />
        ),
        items: [
          {
            title: "Genesis",
            url: "#",
          },
          {
            title: "Explorer",
            url: "#",
          },
          {
            title: "Quantum",
            url: "#",
          },
        ],
      },
      {
        title: "Documentation",
        url: "#",
        icon: (

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free