Vela UI Docsvenizia.ai

percent-02

Percent02, one of the 856 Vela UI icons, in the General 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-percent-02.

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

Installation

pnpm dlx velaui add @velaui/icon-percent-02

Usage

// components/icons/percent-02.tsx
import Percent02 from "@/components/icons/percent-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Percent02({ size = 24, strokeWidth = 1, className, ref, ...props }: Percent02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M21 12.0625L3 12.0625M13.2781 16.8239C14.0192 17.5504 14.0192 18.7285 13.2781 19.4551C12.537 20.1816 11.3355 20.1816 10.5944 19.4551C9.85328 18.7285 9.85328 17.5504 10.5944 16.8239C11.3355 16.0973 12.537 16.0973 13.2781 16.8239ZM13.2781 4.54494C14.0192 5.27152 14.0192 6.44955 13.2781 7.17614C12.537 7.90272 11.3355 7.90272 10.5944 7.17614C9.85328 6.44955 9.85328 5.27152 10.5944 4.54494C11.3355 3.81835 12.537 3.81835 13.2781 4.54494Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Percent02.displayName = "Percent02";

export default Percent02;