Icons / percent-01 percent-01 Percent01, 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-01.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-percent-01Copy npx shadcn@latest add @velaui/icon-percent-01Copy yarn dlx shadcn@latest add @velaui/icon-percent-01Copy bunx --bun shadcn@latest add @velaui/icon-percent-01Copy Usage
Copy // components/icons/percent-01.tsx
import Percent01 from "@/components/icons/percent-01"
<Percent01 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface Percent01Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Percent01 ({ size = 24, strokeWidth = 1, className, ref, ... props } : Percent01Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M20 20L4 4.06488M8.81929 17.4632C8.81929 18.7753 7.75126 19.839 6.43376 19.839C5.11627 19.839 4.04824 18.7753 4.04824 17.4632C4.04824 16.151 5.11627 15.0873 6.43376 15.0873C7.75126 15.0873 8.81929 16.151 8.81929 17.4632ZM19.9518 6.37586C19.9518 7.68801 18.8837 8.75171 17.5662 8.75171C16.2487 8.75171 15.1807 7.68801 15.1807 6.37586C15.1807 5.06371 16.2487 4 17.5662 4C18.8837 4 19.9518 5.06371 19.9518 6.37586Z" stroke = "currentColor" strokeLinecap = "round" />
</svg>
);
}
Percent01.displayName = "Percent01" ;
export default Percent01;