Vela UI Docsvenizia.ai

currency-cent

CurrencyCent, 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-currency-cent.

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

Installation

pnpm dlx velaui add @velaui/icon-currency-cent

Usage

// components/icons/currency-cent.tsx
import CurrencyCent from "@/components/icons/currency-cent"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CurrencyCent({ size = 24, strokeWidth = 1, className, ref, ...props }: CurrencyCentProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M16.996 16.464C15.8979 17.4547 14.4709 18.0021 12.992 18C9.682 18 7 15.314 7 12C6.99948 11.2126 7.15405 10.4328 7.45489 9.70513C7.75573 8.97746 8.19695 8.31617 8.75336 7.75902C9.30977 7.20186 9.97047 6.75976 10.6977 6.45795C11.425 6.15614 12.2046 6.00053 12.992 6C14.4728 5.99803 15.9015 6.54696 17 7.54M12.992 6L12.993 4M12.992 18L12.993 20" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CurrencyCent.displayName = "CurrencyCent";

export default CurrencyCent;