Vela UI Docsvenizia.ai

scale-01

Scale01, 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-01.

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

Installation

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

Usage

// components/icons/scale-01.tsx
import Scale01 from "@/components/icons/scale-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Scale01({ size = 24, strokeWidth = 1, className, ref, ...props }: Scale01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M5.36299 2.40039C3.72659 2.40039 2.40002 3.72695 2.40002 5.36335M14.1334 2.40039H9.86669M21.6 5.36335C21.6 3.72696 20.2735 2.40039 18.6371 2.40039M2.40002 9.86706V14.1337M21.6 14.1337V9.86706M2.40002 18.6374C2.40002 20.2738 3.72659 21.6004 5.36299 21.6004M18.6371 21.6004C20.2735 21.6004 21.6 20.2738 21.6 18.6374M9.86669 21.6004H14.1334M2.40002 12.0004H9.86669C11.0449 12.0004 12 12.9555 12 14.1337V21.6004H5.60002C3.83271 21.6004 2.40002 20.1677 2.40002 18.4004V12.0004Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Scale01.displayName = "Scale01";

export default Scale01;