Home / File/ drawer-demo.tsx — ui Source File

drawer-demo.tsx — ui Source File

Architecture documentation for drawer-demo.tsx, a tsx file in the ui codebase. 5 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 5 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  c80e5749_17cc_e084_6b67_0df469f56c5d["drawer-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  c80e5749_17cc_e084_6b67_0df469f56c5d --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  c80e5749_17cc_e084_6b67_0df469f56c5d --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  c80e5749_17cc_e084_6b67_0df469f56c5d --> da384753_eb23_55ed_e7a6_3bd0e172b999
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  c80e5749_17cc_e084_6b67_0df469f56c5d --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  79b170ee_6170_9271_c7a0_b5527f29a7e1["drawer"]
  c80e5749_17cc_e084_6b67_0df469f56c5d --> 79b170ee_6170_9271_c7a0_b5527f29a7e1
  style c80e5749_17cc_e084_6b67_0df469f56c5d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import * as React from "react"
import { Minus, Plus } from "lucide-react"
import { Bar, BarChart, ResponsiveContainer } from "recharts"

import { Button } from "@/registry/new-york/ui/button"
import {
  Drawer,
  DrawerClose,
  DrawerContent,
  DrawerDescription,
  DrawerFooter,
  DrawerHeader,
  DrawerTitle,
  DrawerTrigger,
} from "@/registry/new-york/ui/drawer"

const data = [
  {
    goal: 400,
  },
  {
    goal: 300,
  },
  {
    goal: 200,
  },
  {
    goal: 300,
  },
  {
    goal: 200,
  },
  {
    goal: 278,
  },
  {
    goal: 189,
  },
  {
    goal: 239,
  },
  {
    goal: 300,
  },
  {
    goal: 200,
  },
  {
    goal: 278,
  },
  {
    goal: 189,
  },
  {
    goal: 349,
  },
]

// ... (77 more lines)

Subdomains

Functions

Dependencies

  • button
  • drawer
  • lucide-react
  • react
  • recharts

Frequently Asked Questions

What does drawer-demo.tsx do?
drawer-demo.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 drawer-demo.tsx?
drawer-demo.tsx defines 1 function(s): DrawerDemo.
What does drawer-demo.tsx depend on?
drawer-demo.tsx imports 5 module(s): button, drawer, lucide-react, react, recharts.
Where is drawer-demo.tsx in the architecture?
drawer-demo.tsx is located at deprecated/www/registry/new-york/examples/drawer-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/new-york/examples).

Analyze Your Own Codebase

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

Try Supermodel Free