export const title = "Line & bar chart components"
export const description = "Free and open-source React line and bar chart components built for modern applications and websites. These line and bar charts are built using Recharts and styled with Tailwind CSS."
export const links = {
github: "https://github.com/untitleduico/react/tree/main/components/application/charts",
recharts: "https://recharts.org/en-US/api/LineChart",
}
import * as LineCharts from "@/components/application/charts/line-charts.story.tsx";
import * as BarCharts from "@/components/application/charts/bar-charts.story.tsx";
## Installation
You can add this line and bar charts component using our CLI or manually:
```bash
npx untitledui@latest add charts-base
```
As our line and bar charts component is built with [Recharts](https://recharts.org/en-US/), you'll need to install the dependencies:
```bash
npm install recharts
```
Copy the files below into your project:
Great! Now you can start using the line and bar charts components in your project by just copy/pasting our examples below.
## Chart examples
Below are examples and variations of this line and bar charts component:
### Line chart 01 {{ tocOnly:true }}
### Line chart 02 {{ tocOnly:true }}
### Line chart 03 {{ tocOnly:true }}
### Line chart 04 {{ tocOnly:true }}
### Bar chart 01 {{ tocOnly:true }}
### Bar chart 02 {{ tocOnly:true }}
### Bar chart 03 {{ tocOnly:true }}