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, 1 dependents.

File tsx DocumentationAtlas SearchAPI 5 imports 1 dependents 4 functions

Entity Profile

Dependency Diagram

graph LR
  04594a08_934d_bf94_ee7c_beaa409cb7c4["drawer-demo.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  04594a08_934d_bf94_ee7c_beaa409cb7c4 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  04594a08_934d_bf94_ee7c_beaa409cb7c4 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  04594a08_934d_bf94_ee7c_beaa409cb7c4 --> da384753_eb23_55ed_e7a6_3bd0e172b999
  57e86e45_ac6e_7278_be08_9092724e8401["button"]
  04594a08_934d_bf94_ee7c_beaa409cb7c4 --> 57e86e45_ac6e_7278_be08_9092724e8401
  538a1992_2e44_c995_0fe9_493e88eb6ea5["drawer"]
  04594a08_934d_bf94_ee7c_beaa409cb7c4 --> 538a1992_2e44_c995_0fe9_493e88eb6ea5
  1c2403dc_4584_9f39_4e98_855a7de18bd1["component-registry.ts"]
  1c2403dc_4584_9f39_4e98_855a7de18bd1 --> 04594a08_934d_bf94_ee7c_beaa409cb7c4
  style 04594a08_934d_bf94_ee7c_beaa409cb7c4 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,
  },
]

// ... (169 more lines)

Subdomains

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 DocumentationAtlas domain, SearchAPI subdomain.
What functions are defined in drawer-demo.tsx?
drawer-demo.tsx defines 4 function(s): DrawerBottom, DrawerDemo, DrawerDirections, DrawerScrollableContent.
What does drawer-demo.tsx depend on?
drawer-demo.tsx imports 5 module(s): button, drawer, lucide-react, react, recharts.
What files import drawer-demo.tsx?
drawer-demo.tsx is imported by 1 file(s): component-registry.ts.
Where is drawer-demo.tsx in the architecture?
drawer-demo.tsx is located at apps/v4/app/(internal)/sink/components/drawer-demo.tsx (domain: DocumentationAtlas, subdomain: SearchAPI, directory: apps/v4/app/(internal)/sink/components).

Analyze Your Own Codebase

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

Try Supermodel Free