Vela UI Docsvenizia.ai

bar-chart-square-02

BarChartSquare02, 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-02.

  • 16px
  • 20px
  • 24px
  • 32px

Installation

pnpm dlx velaui add @velaui/icon-bar-chart-square-02

Usage

// components/icons/bar-chart-square-02.tsx
import BarChartSquare02 from "@/components/icons/bar-chart-square-02"

<BarChartSquare02 className="size-5 text-muted" />

In use

  • In a button

  • In a sentence

    Due Friday, or whenever the venue confirms.

  • In an input

  • As a badge

    Scheduled
  • In an empty state

    No events on this day yet.

    Browse blocks

Source

import * as React from "react";

export interface BarChartSquare02Props extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function BarChartSquare02({ size = 24, strokeWidth = 1, className, ref, ...props }: BarChartSquare02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M16.8 16.7999V14.3999M12 16.7999V11.9999M7.2 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>
  );
}
BarChartSquare02.displayName = "BarChartSquare02";

export default BarChartSquare02;