Vela UI Docsvenizia.ai

calculator-01

Calculator01, 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-calculator-01.

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

Installation

pnpm dlx velaui add @velaui/icon-calculator-01

Usage

// components/icons/calculator-01.tsx
import Calculator01 from "@/components/icons/calculator-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Calculator01({ size = 24, strokeWidth = 1, className, ref, ...props }: Calculator01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M2.39999 12.2598H11.7405M12.2595 21.6004V2.40039M7.32972 9.14634V5.77336M5.64324 7.45985H9.01621M5.64324 17.449H9.01621M15.373 14.0761H18.7459M15.373 10.9626H18.7459M4.99459 21.6004H19.0054C20.4384 21.6004 21.6 20.4387 21.6 19.0058V4.99498C21.6 3.56203 20.4384 2.40039 19.0054 2.40039H4.99459C3.56163 2.40039 2.39999 3.56203 2.39999 4.99498V19.0058C2.39999 20.4387 3.56163 21.6004 4.99459 21.6004Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Calculator01.displayName = "Calculator01";

export default Calculator01;