Vela UI Docsvenizia.ai

currency-rubel

CurrencyRubel, 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-rubel.

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

Installation

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

Usage

// components/icons/currency-rubel.tsx
import CurrencyRubel from "@/components/icons/currency-rubel"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CurrencyRubel({ size = 24, strokeWidth = 1, className, ref, ...props }: CurrencyRubelProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M8.5 19V5H14.5C15.2956 5 16.0587 5.31607 16.6213 5.87868C17.1839 6.44129 17.5 7.20435 17.5 8C17.5 8.79565 17.1839 9.55871 16.6213 10.1213C16.0587 10.6839 15.2956 11 14.5 11H6.5M14.5 15H6.5" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CurrencyRubel.displayName = "CurrencyRubel";

export default CurrencyRubel;