Vela UI Docsvenizia.ai

chart-breakout-square

ChartBreakoutSquare, 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-chart-breakout-square.

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

Installation

pnpm dlx velaui add @velaui/icon-chart-breakout-square

Usage

// components/icons/chart-breakout-square.tsx
import ChartBreakoutSquare from "@/components/icons/chart-breakout-square"

<ChartBreakoutSquare 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 ChartBreakoutSquareProps extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ChartBreakoutSquare({ size = 24, strokeWidth = 1, className, ref, ...props }: ChartBreakoutSquareProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M10.3378 4.02241H4.66795C3.41541 4.02241 2.40002 5.0378 2.40002 6.29034V19.8979C2.40002 21.1504 3.41541 22.1658 4.66795 22.1658H18.2755C19.528 22.1658 20.5434 21.1504 20.5434 19.8979V13.0941M2.96701 13.1601C7.50285 13.1601 13.7396 13.7271 14.3066 9.75826M14.3066 13.8345V9.75826H10.9047M14.2293 1.83447V4.28144M21.6 9.20523H19.153M19.3321 4.1024L17.7085 5.72336" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
ChartBreakoutSquare.displayName = "ChartBreakoutSquare";

export default ChartBreakoutSquare;