Back to Components
Components

Bar Chart

Simple bar chart with labels, values, and configurable height.

Mon18
Tue26
Wed22
Thu30
Fri28

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/bar-chart.tsx

Installation

Using shadcn CLI

npx shadcn add bar-chart --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge