danmindru / page-ui

📃 Landing page UI components for React & Next.js, built on top of TailwindCSS
https://pageui.dev
MIT License
1.1k stars 48 forks source link

Missing chart components #7

Closed josemiguelq closed 1 month ago

josemiguelq commented 2 months ago

There are some examples in doc that import ui/chart and this path dont exists

import {
  ChartConfig,
  ChartContainer,
  ChartTooltip,
  ChartTooltipContent,
} from "@/components/shared/ui/chart"

Is there a way to get those components?

danmindru commented 1 month ago

Hi @josemiguelq, you can get those from here:

https://github.com/shadcn-ui/ui/blob/main/apps/www/registry/default/ui/chart.tsx

Please note you need recharts as a dependency