bar chart icon

bar-chart from IonIcons by Ben Sperry · Regular · MIT Free for personal and commercial use.

Name
bar-chart
Set
IonIcons
Style
Regular
Viewbox
512×512
License
MIT

2 other variants in IonIcons

The same icon in other sets

Use the bar chart icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M480 496H48a32 32 0 0 1-32-32V32a16 16 0 0 1 32 0v432h432a16 16 0 0 1 0 32"/><path fill="currentColor" d="M156 432h-40a36 36 0 0 1-36-36V244a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v152a36 36 0 0 1-36 36m144 0h-40a36 36 0 0 1-36-36V196a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v200a36 36 0 0 1-36 36m143.64 0h-40a36 36 0 0 1-36-36V132a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v264a36 36 0 0 1-36 36"/></svg>

React

import type { SVGProps } from "react";

export function IonBarChart(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M480 496H48a32 32 0 0 1-32-32V32a16 16 0 0 1 32 0v432h432a16 16 0 0 1 0 32"/><path fill="currentColor" d="M156 432h-40a36 36 0 0 1-36-36V244a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v152a36 36 0 0 1-36 36m144 0h-40a36 36 0 0 1-36-36V196a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v200a36 36 0 0 1-36 36m143.64 0h-40a36 36 0 0 1-36-36V132a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v264a36 36 0 0 1-36 36"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path fill="currentColor" d="M480 496H48a32 32 0 0 1-32-32V32a16 16 0 0 1 32 0v432h432a16 16 0 0 1 0 32"/><path fill="currentColor" d="M156 432h-40a36 36 0 0 1-36-36V244a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v152a36 36 0 0 1-36 36m144 0h-40a36 36 0 0 1-36-36V196a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v200a36 36 0 0 1-36 36m143.64 0h-40a36 36 0 0 1-36-36V132a36 36 0 0 1 36-36h40a36 36 0 0 1 36 36v264a36 36 0 0 1-36 36"/></svg>
</template>

CSS

.icon-bar-chart {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M480%20496H48a32%2032%200%200%201-32-32V32a16%2016%200%200%201%2032%200v432h432a16%2016%200%200%201%200%2032%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M156%20432h-40a36%2036%200%200%201-36-36V244a36%2036%200%200%201%2036-36h40a36%2036%200%200%201%2036%2036v152a36%2036%200%200%201-36%2036m144%200h-40a36%2036%200%200%201-36-36V196a36%2036%200%200%201%2036-36h40a36%2036%200%200%201%2036%2036v200a36%2036%200%200%201-36%2036m143.64%200h-40a36%2036%200%200%201-36-36V132a36%2036%200%200%201%2036-36h40a36%2036%200%200%201%2036%2036v264a36%2036%200%200%201-36%2036%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M480%20496H48a32%2032%200%200%201-32-32V32a16%2016%200%200%201%2032%200v432h432a16%2016%200%200%201%200%2032%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M156%20432h-40a36%2036%200%200%201-36-36V244a36%2036%200%200%201%2036-36h40a36%2036%200%200%201%2036%2036v152a36%2036%200%200%201-36%2036m144%200h-40a36%2036%200%200%201-36-36V196a36%2036%200%200%201%2036-36h40a36%2036%200%200%201%2036%2036v200a36%2036%200%200%201-36%2036m143.64%200h-40a36%2036%200%200%201-36-36V132a36%2036%200%200%201%2036-36h40a36%2036%200%200%201%2036%2036v264a36%2036%200%200%201-36%2036%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/ion/bar-chart.svg?color=%231a73e8&size=48