Icons / bar-chart-square-01 bar-chart-square-01 BarChartSquare01, one of the 856 Vela UI icons, in the Charts group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-bar-chart-square-01.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-bar-chart-square-01Copy npx shadcn@latest add @velaui/icon-bar-chart-square-01Copy yarn dlx shadcn@latest add @velaui/icon-bar-chart-square-01Copy bunx --bun shadcn@latest add @velaui/icon-bar-chart-square-01Copy Usage
Copy // components/icons/bar-chart-square-01.tsx
import BarChartSquare01 from "@/components/icons/bar-chart-square-01"
<BarChartSquare01 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface BarChartSquare01Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function BarChartSquare01 ({ size = 24, strokeWidth = 1, className, ref, ... props } : BarChartSquare01Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M7.2 16.7999V14.3999M12 16.7999V11.9999M16.8 16.7999V7.1999M4.8 21.5999C3.47452 21.5999 2.4 20.5254 2.4 19.1999V4.7999C2.4 3.47442 3.47452 2.3999 4.8 2.3999H19.2C20.5255 2.3999 21.6 3.47442 21.6 4.7999V19.1999C21.6 20.5254 20.5255 21.5999 19.2 21.5999H4.8Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
BarChartSquare01.displayName = "BarChartSquare01" ;
export default BarChartSquare01;