Home / File/ dashboard-02.tsx — ui Source File

dashboard-02.tsx — ui Source File

Architecture documentation for dashboard-02.tsx, a tsx file in the ui codebase. 8 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 8 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f["dashboard-02.tsx"]
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  d1f6969b_47e1_9226_0001_415be23d60e0["badge"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> d1f6969b_47e1_9226_0001_415be23d60e0
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  95a7752f_4b97_5bde_5d7d_fca03536ac35["card"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> 95a7752f_4b97_5bde_5d7d_fca03536ac35
  194a9418_8170_2169_6f94_b2f555b74f26["dropdown-menu"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> 194a9418_8170_2169_6f94_b2f555b74f26
  2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107["input"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> 2de1d0e1_ab37_e1b0_4ef3_da8c8fa66107
  80ae0a6d_36b4_7c16_76aa_95005b3b164f["sheet"]
  e539e221_d0d7_be5e_a7f8_12dfdf5e797f --> 80ae0a6d_36b4_7c16_76aa_95005b3b164f
  style e539e221_d0d7_be5e_a7f8_12dfdf5e797f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Link from "next/link"
import {
  Bell,
  CircleUser,
  Home,
  LineChart,
  Menu,
  Package,
  Package2,
  Search,
  ShoppingCart,
  Users,
} from "lucide-react"

import { Badge } from "@/registry/new-york/ui/badge"
import { Button } from "@/registry/new-york/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardHeader,
  CardTitle,
} from "@/registry/new-york/ui/card"
import {
  DropdownMenu,
  DropdownMenuContent,
  DropdownMenuItem,
  DropdownMenuLabel,
  DropdownMenuSeparator,
  DropdownMenuTrigger,
} from "@/registry/new-york/ui/dropdown-menu"
import { Input } from "@/registry/new-york/ui/input"
import { Sheet, SheetContent, SheetTrigger } from "@/registry/new-york/ui/sheet"

export const description =
  "A products dashboard with a sidebar navigation and a main content area. The dashboard has a header with a search input and a user menu. The sidebar has a logo, navigation links, and a card with a call to action. The main content area shows an empty state with a call to action."

export const iframeHeight = "800px"

export const containerClassName = "w-full h-full"

export default function Dashboard() {
  return (
    <div className="grid min-h-screen w-full md:grid-cols-[220px_1fr] lg:grid-cols-[280px_1fr]">
      <div className="hidden border-r bg-muted/40 md:block">
        <div className="flex h-full max-h-screen flex-col gap-2">
          <div className="flex h-14 items-center border-b px-4 lg:h-[60px] lg:px-6">
            <Link href="/" className="flex items-center gap-2 font-semibold">
              <Package2 className="h-6 w-6" />
              <span className="">Acme Inc</span>
            </Link>
            <Button variant="outline" size="icon" className="ml-auto h-8 w-8">
              <Bell className="h-4 w-4" />
              <span className="sr-only">Toggle notifications</span>
            </Button>
          </div>
          <div className="flex-1">
            <nav className="grid items-start px-2 text-sm font-medium lg:px-4">
              <Link
                href="#"
// ... (188 more lines)

Subdomains

Functions

Dependencies

  • badge
  • button
  • card
  • dropdown-menu
  • input
  • link
  • lucide-react
  • sheet

Frequently Asked Questions

What does dashboard-02.tsx do?
dashboard-02.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, ChartRegistry subdomain.
What functions are defined in dashboard-02.tsx?
dashboard-02.tsx defines 1 function(s): Dashboard.
What does dashboard-02.tsx depend on?
dashboard-02.tsx imports 8 module(s): badge, button, card, dropdown-menu, input, link, lucide-react, sheet.
Where is dashboard-02.tsx in the architecture?
dashboard-02.tsx is located at deprecated/www/registry/new-york/internal/dashboard-02.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/internal).

Analyze Your Own Codebase

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

Try Supermodel Free