Vela UI Docsvenizia.ai

pie-chart-02

PieChart02, 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-pie-chart-02.

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

Installation

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

Usage

// components/icons/pie-chart-02.tsx
import PieChart02 from "@/components/icons/pie-chart-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function PieChart02({ size = 24, strokeWidth = 1, className, ref, ...props }: PieChart02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M11.4353 21.8826C16.4254 21.8826 20.4706 17.8373 20.4706 12.8473H11.4353L11.4354 3.81195C6.44529 3.81192 2.40002 7.8572 2.40002 12.8473C2.40002 17.8373 6.44526 21.8826 11.4353 21.8826Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
      <path d="M15.3883 2.11768V8.80727H21.6V8.32944C21.6 4.89878 18.8189 2.11768 15.3883 2.11768Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
PieChart02.displayName = "PieChart02";

export default PieChart02;