John KuehJohn Kueh

chart bar icon

Heroicons · chart-bar · MIT

Download SVG

The Heroicons chart bar icon depicts a bar chart, commonly used to represent data and statistics in user interfaces.

Common uses

  • Displaying sales figures
  • Showing website traffic analytics
  • Visualizing survey results

Use it in React

Install
npm i @heroicons/react
Import & render
import { ChartBarIcon } from '@heroicons/react/24/outline';

<ChartBarIcon className="size-6" />

Styles

Heroicons ships this icon in 4 styles — each its own import:

24/outline
<ChartBarIcon className="size-6" />
24/solid
<ChartBarIcon className="size-6" />
20/solid
<ChartBarIcon className="size-6" />
16/solid
<ChartBarIcon className="size-6" />

Details

Library
Heroicons (324 icons)
License
MIT
viewBox
0 0 24 24
Keywords
chartbarbar chartgraphstatisticsanalytics

FAQ

What is the chart bar icon used for?
It's used to visually represent data, such as statistics, analytics, or progress.
How do I use the chart bar icon in React?
Import it as ChartBarIcon from '@heroicons/react/24/outline' and use it like any other React component.
What is the license for this icon?
The Heroicons library, including the chart bar icon, is available under the MIT license.

Related icons

The same idea in other libraries, and near matches in Heroicons.

Looking for something else? Search Heroicons and 4 more libraries by description →

The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →