Vela UI Docsvenizia.ai

scale-02

Scale02, 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-scale-02.

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

Installation

pnpm dlx velaui add @velaui/icon-scale-02

Usage

// components/icons/scale-02.tsx
import Scale02 from "@/components/icons/scale-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Scale02({ size = 24, strokeWidth = 1, className, ref, ...props }: Scale02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M10.4766 18.0004H6.00002V13.2004M6.00002 18.0004L11.3334 12.6671M21.6 10.8004H15.6C14.2745 10.8004 13.2 9.72587 13.2 8.40039V2.40039M4.53336 21.6004H19.4667C20.6449 21.6004 21.6 20.6453 21.6 19.4671V4.53372C21.6 3.35552 20.6449 2.40039 19.4667 2.40039H4.53336C3.35515 2.40039 2.40002 3.35552 2.40002 4.53372V19.4671C2.40002 20.6453 3.35515 21.6004 4.53336 21.6004Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Scale02.displayName = "Scale02";

export default Scale02;