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
  ef27c0a0_7c74_e8f3_2c5e_2a13288df983["drawer-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  ef27c0a0_7c74_e8f3_2c5e_2a13288df983 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  ef27c0a0_7c74_e8f3_2c5e_2a13288df983 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  ef27c0a0_7c74_e8f3_2c5e_2a13288df983 --> da384753_eb23_55ed_e7a6_3bd0e172b999
  d418ad18_b947_f4e5_6e4c_01100d7a63e4["button"]
  ef27c0a0_7c74_e8f3_2c5e_2a13288df983 --> d418ad18_b947_f4e5_6e4c_01100d7a63e4
  e03b2544_1b68_470f_14f0_dfbd84c9df9b["drawer"]
  ef27c0a0_7c74_e8f3_2c5e_2a13288df983 --> e03b2544_1b68_470f_14f0_dfbd84c9df9b
  style ef27c0a0_7c74_e8f3_2c5e_2a13288df983 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/default/ui/button"
import {
  Drawer,
  DrawerClose,
  DrawerContent,
  DrawerDescription,
  DrawerFooter,
  DrawerHeader,
  DrawerTitle,
  DrawerTrigger,
} from "@/registry/default/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/default/internal/sink/components/drawer-demo.tsx (domain: ComponentRegistry, subdomain: ChartRegistry, directory: deprecated/www/registry/default/internal/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free