Vela UI Docsvenizia.ai

coin-number

CoinNumber, 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-coin-number.

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

Installation

pnpm dlx velaui add @velaui/icon-coin-number

Usage

// components/icons/coin-number.tsx
import CoinNumber from "@/components/icons/coin-number"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CoinNumber({ size = 24, strokeWidth = 1, className, ref, ...props }: CoinNumberProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M7.85712 7.63627C8.63218 4.62496 11.3657 2.3999 14.619 2.3999C18.4749 2.3999 21.6008 5.52577 21.6008 9.38172C21.6008 12.4559 19.6139 15.0661 16.8542 15.9981M7.85712 17.1256H9.38099M9.38099 17.1256H10.7992M9.38099 17.1256V11.5619C9.38099 11.5619 8.31718 12.2933 7.63553 12.7619M16.3628 14.6181C16.3628 18.474 13.2369 21.5999 9.38099 21.5999C5.52504 21.5999 2.39917 18.474 2.39917 14.6181C2.39917 10.7621 5.52504 7.63627 9.38099 7.63627C13.2369 7.63627 16.3628 10.7621 16.3628 14.6181Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CoinNumber.displayName = "CoinNumber";

export default CoinNumber;