Vela UI Docsvenizia.ai

currency-rupee

CurrencyRupee, 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-rupee.

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

Installation

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

Usage

// components/icons/currency-rupee.tsx
import CurrencyRupee from "@/components/icons/currency-rupee"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CurrencyRupee({ size = 24, strokeWidth = 1, className, ref, ...props }: CurrencyRupeeProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M17.5 5H6.5H9.5C10.5609 5 11.5783 5.42143 12.3284 6.17157C13.0786 6.92172 13.5 7.93913 13.5 9C13.5 10.0609 13.0786 11.0783 12.3284 11.8284C11.5783 12.5786 10.5609 13 9.5 13H6.5L12.5 19M6.5 9H17.5" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CurrencyRupee.displayName = "CurrencyRupee";

export default CurrencyRupee;