Home / File/ activity-goal.tsx — ui Source File

activity-goal.tsx — ui Source File

Architecture documentation for activity-goal.tsx, a tsx file in the ui codebase. 6 imports, 0 dependents.

File tsx ComponentRegistry UIPrimitives 6 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  79610234_921c_7c29_c9f2_f401327be480["activity-goal.tsx"]
  1d141819_425e_b5fd_4c8e_32f7c6a42cf2["react"]
  79610234_921c_7c29_c9f2_f401327be480 --> 1d141819_425e_b5fd_4c8e_32f7c6a42cf2
  d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3["lucide-react"]
  79610234_921c_7c29_c9f2_f401327be480 --> d39cd1e4_1b2d_9aa2_1d29_fd0b4bfb61c3
  da384753_eb23_55ed_e7a6_3bd0e172b999["recharts"]
  79610234_921c_7c29_c9f2_f401327be480 --> da384753_eb23_55ed_e7a6_3bd0e172b999
  aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"]
  79610234_921c_7c29_c9f2_f401327be480 --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939
  95a7752f_4b97_5bde_5d7d_fca03536ac35["card"]
  79610234_921c_7c29_c9f2_f401327be480 --> 95a7752f_4b97_5bde_5d7d_fca03536ac35
  54edb93d_8b2b_eda5_dfc1_461038aaa132["chart"]
  79610234_921c_7c29_c9f2_f401327be480 --> 54edb93d_8b2b_eda5_dfc1_461038aaa132
  style 79610234_921c_7c29_c9f2_f401327be480 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 } from "recharts"

import { Button } from "@/registry/new-york/ui/button"
import {
  Card,
  CardContent,
  CardDescription,
  CardFooter,
  CardHeader,
  CardTitle,
} from "@/registry/new-york/ui/card"
import { ChartConfig, ChartContainer } from "@/registry/new-york/ui/chart"

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,
  },
]

const chartConfig = {
// ... (66 more lines)

Subdomains

Dependencies

  • button
  • card
  • chart
  • lucide-react
  • react
  • recharts

Frequently Asked Questions

What does activity-goal.tsx do?
activity-goal.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, UIPrimitives subdomain.
What functions are defined in activity-goal.tsx?
activity-goal.tsx defines 1 function(s): CardsActivityGoal.
What does activity-goal.tsx depend on?
activity-goal.tsx imports 6 module(s): button, card, chart, lucide-react, react, recharts.
Where is activity-goal.tsx in the architecture?
activity-goal.tsx is located at deprecated/www/components/cards/activity-goal.tsx (domain: ComponentRegistry, subdomain: UIPrimitives, directory: deprecated/www/components/cards).

Analyze Your Own Codebase

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

Try Supermodel Free