Vela UI Docsvenizia.ai

image-01

Image01, 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-image-01.

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

Installation

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

Usage

// components/icons/image-01.tsx
import Image01 from "@/components/icons/image-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Image01({ size = 24, strokeWidth = 1, className, ref, ...props }: Image01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M8.15999 15.6002L12 12.0002L14.56 13.8002L18.1867 10.2002L21.3867 13.2002M2.39999 9.0002V19.8002H15.2M10.08 7.8002V7.70996M21.6 15.2002V5.2002C21.6 4.64791 21.1523 4.2002 20.6 4.2002H7.23999C6.68771 4.2002 6.23999 4.64791 6.23999 5.2002V15.2002C6.23999 15.7525 6.68771 16.2002 7.23999 16.2002H20.6C21.1523 16.2002 21.6 15.7525 21.6 15.2002Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Image01.displayName = "Image01";

export default Image01;