Vela UI Docsvenizia.ai

horizontal-chart-02

HorizontalChart02, 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-horizontal-chart-02.

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

Installation

pnpm dlx velaui add @velaui/icon-horizontal-chart-02

Usage

// components/icons/horizontal-chart-02.tsx
import HorizontalChart02 from "@/components/icons/horizontal-chart-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function HorizontalChart02({ size = 24, strokeWidth = 1, className, ref, ...props }: HorizontalChart02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M3 14.3547H7.17801M3 14.3547L7.1196 14.3536C7.13918 14.3536 7.15866 14.354 7.17801 14.3547M12.776 9.50813L19.8 9.50813C20.4627 9.50813 21 9.07832 21 8.54813V5.7599C21 5.22971 20.4627 4.7999 19.8 4.7999L4.2 4.7999C3.53726 4.7999 3 5.22971 3 5.7599L3 9.50813L3 14.3547L3 18.2399C3 18.7701 3.53726 19.1999 4.2 19.1999H7.12C7.78274 19.1999 8.32 18.7701 8.32 18.2399V15.3136C8.32 14.799 7.81379 14.3789 7.17801 14.3547M3 9.50813H12.776C13.4387 9.50813 13.976 9.93793 13.976 10.4681V13.3947C13.976 13.9249 13.4387 14.3547 12.776 14.3547H7.17801M3 21.5999V2.3999" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
HorizontalChart02.displayName = "HorizontalChart02";

export default HorizontalChart02;