Home / File/ charts-01.tsx — ui Source File

charts-01.tsx — ui Source File

Architecture documentation for charts-01.tsx, a tsx file in the ui codebase. 4 imports, 0 dependents.

File tsx ComponentRegistry ChartRegistry 4 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  ea86cbd6_c679_6799_3dc7_d6871211d651["charts-01.tsx"]
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  ea86cbd6_c679_6799_3dc7_d6871211d651 --> da384753_eb23_55ed_e7a6_3bd0e172b999
  3dc82086_dd7c_305d_24bd_7f7670d25be1["card"]
  ea86cbd6_c679_6799_3dc7_d6871211d651 --> 3dc82086_dd7c_305d_24bd_7f7670d25be1
  27296a28_a40b_3486_6b77_7f30e2444ad4["chart"]
  ea86cbd6_c679_6799_3dc7_d6871211d651 --> 27296a28_a40b_3486_6b77_7f30e2444ad4
  cae6a7e7_d419_f536_7e63_ccc39bc92a41["separator"]
  ea86cbd6_c679_6799_3dc7_d6871211d651 --> cae6a7e7_d419_f536_7e63_ccc39bc92a41
  style ea86cbd6_c679_6799_3dc7_d6871211d651 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"use client"

import {
  Area,
  AreaChart,
  Bar,
  BarChart,
  CartesianGrid,
  Label,
  LabelList,
  Line,
  LineChart,
  PolarAngleAxis,
  RadialBar,
  RadialBarChart,
  Rectangle,
  ReferenceLine,
  XAxis,
  YAxis,
} from "recharts"

import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/registry/new-york//ui/card"
import {
  ChartContainer,
  ChartTooltip,
  ChartTooltipContent,
} from "@/registry/new-york//ui/chart"
import { Separator } from "@/registry/new-york//ui/separator"

export const description = "A collection of health charts."

export const iframeHeight = "900px"

export const containerClassName = "min-h-screen py-12"

export default function Charts() {
  return (
    <div className="chart-wrapper mx-auto flex max-w-6xl flex-col flex-wrap items-start justify-center gap-6 p-6 sm:flex-row sm:p-8">
      <div className="grid w-full gap-6 sm:grid-cols-2 lg:max-w-[22rem] lg:grid-cols-1 xl:max-w-[25rem]">
        <Card
          x-chunk="A bar chart showing the number of steps you have walked in the past 7 days."
          className="lg:max-w-md"
        >
          <CardHeader className="space-y-0 pb-2">
            <CardDescription>Today</CardDescription>
            <CardTitle className="text-4xl tabular-nums">
              12,584{" "}
              <span className="font-sans text-sm font-normal tracking-normal text-muted-foreground">
                steps
              </span>
            </CardTitle>
          </CardHeader>
          <CardContent>
// ... (836 more lines)

Subdomains

Functions

Dependencies

  • card
  • chart
  • recharts
  • separator

Frequently Asked Questions

What does charts-01.tsx do?
charts-01.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 charts-01.tsx?
charts-01.tsx defines 1 function(s): Charts.
What does charts-01.tsx depend on?
charts-01.tsx imports 4 module(s): card, chart, recharts, separator.
Where is charts-01.tsx in the architecture?
charts-01.tsx is located at deprecated/www/registry/new-york/internal/charts-01.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