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
  fce3499f_68a2_6d1c_697e_1aaeaa08728d["drawer-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  fce3499f_68a2_6d1c_697e_1aaeaa08728d --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  fce3499f_68a2_6d1c_697e_1aaeaa08728d --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  fce3499f_68a2_6d1c_697e_1aaeaa08728d --> da384753_eb23_55ed_e7a6_3bd0e172b999
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  fce3499f_68a2_6d1c_697e_1aaeaa08728d --> 57e86e45_ac6e_7278_be08_9092724e8401
  538a1992_2e44_c995_0fe9_493e88eb6ea5["drawer"]
  fce3499f_68a2_6d1c_697e_1aaeaa08728d --> 538a1992_2e44_c995_0fe9_493e88eb6ea5
  style fce3499f_68a2_6d1c_697e_1aaeaa08728d 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-v4/ui/button"
import {
  Drawer,
  DrawerClose,
  DrawerContent,
  DrawerDescription,
  DrawerFooter,
  DrawerHeader,
  DrawerTitle,
  DrawerTrigger,
} from "@/registry/new-york-v4/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 apps/v4/registry/new-york-v4/examples/drawer-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: apps/v4/registry/new-york-v4/examples).

Analyze Your Own Codebase

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

Try Supermodel Free