Home / File/ sidebar-floating-example.tsx — ui Source File

sidebar-floating-example.tsx — ui Source File

Architecture documentation for sidebar-floating-example.tsx, a tsx file in the ui codebase. 7 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 7 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  6ac08f5e_1058_1edc_6796_175a75358959["sidebar-floating-example.tsx"]
  7328fa0a_98b6_fe77_42fd_0d1582b24604["button"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> 7328fa0a_98b6_fe77_42fd_0d1582b24604
  deffd1e6_798d_b7fd_c687_7ccabc947893["card"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> deffd1e6_798d_b7fd_c687_7ccabc947893
  ac307fe4_34c0_4667_089c_c9e7c15ca708["dropdown-menu"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> ac307fe4_34c0_4667_089c_c9e7c15ca708
  8a527dea_9425_3da4_8ceb_ec3058568dc9["field"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> 8a527dea_9425_3da4_8ceb_ec3058568dc9
  7a5dd398_b998_b51b_8c79_de0334382819["item"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> 7a5dd398_b998_b51b_8c79_de0334382819
  f1a5091e_9f4f_a457_6394_4e05eb42bbf1["sidebar"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> f1a5091e_9f4f_a457_6394_4e05eb42bbf1
  de6fac54_74ca_6c25_8f8b_d1ba3287dbf2["icon-placeholder"]
  6ac08f5e_1058_1edc_6796_175a75358959 --> de6fac54_74ca_6c25_8f8b_d1ba3287dbf2
  style 6ac08f5e_1058_1edc_6796_175a75358959 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import { Button } from "@/registry/bases/base/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/registry/bases/base/ui/card"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuGroup,
  DropdownMenuItem,
  DropdownMenuTrigger,
} from "@/registry/bases/base/ui/dropdown-menu"
import { Field } from "@/registry/bases/base/ui/field"
import {
  Item,
  ItemContent,
  ItemDescription,
  ItemTitle,
} from "@/registry/bases/base/ui/item"
import {
  Sidebar,
  SidebarContent,
  SidebarFooter,
  SidebarGroup,
  SidebarHeader,
  SidebarInput,
  SidebarInset,
  SidebarMenu,
  SidebarMenuButton,
  SidebarMenuItem,
  SidebarProvider,
  SidebarRail,
  SidebarTrigger,
} from "@/registry/bases/base/ui/sidebar"
import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder"

export default function SidebarFloatingExample() {
  const data = {
    navMain: [
      {
        title: "Getting Started",
        url: "#",
        items: [
          {
            title: "Installation",
            url: "#",
          },
          {
            title: "Project Structure",
            url: "#",
          },
        ],
      },
      {
        title: "Build Your Application",
// ... (216 more lines)

Subdomains

Dependencies

  • button
  • card
  • dropdown-menu
  • field
  • icon-placeholder
  • item
  • sidebar

Frequently Asked Questions

What does sidebar-floating-example.tsx do?
sidebar-floating-example.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in sidebar-floating-example.tsx?
sidebar-floating-example.tsx defines 1 function(s): SidebarFloatingExample.
What does sidebar-floating-example.tsx depend on?
sidebar-floating-example.tsx imports 7 module(s): button, card, dropdown-menu, field, icon-placeholder, item, sidebar.
Where is sidebar-floating-example.tsx in the architecture?
sidebar-floating-example.tsx is located at apps/v4/registry/bases/base/examples/sidebar-floating-example.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: apps/v4/registry/bases/base/examples).

Analyze Your Own Codebase

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

Try Supermodel Free