Vela UI Docsvenizia.ai

image-minus

ImageMinus, 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-minus.

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

Installation

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

Usage

// components/icons/image-minus.tsx
import ImageMinus from "@/components/icons/image-minus"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ImageMinus({ size = 24, strokeWidth = 1, className, ref, ...props }: ImageMinusProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M5.69739 20.5001L14.756 11.9744L19.0188 16.2373M5.69739 20.5001H16.3545C18.1203 20.5001 19.5517 19.0687 19.5517 17.303V11.9744M5.69739 20.5001C3.93165 20.5001 2.50024 19.0687 2.50024 17.303V6.64585C2.50024 4.88011 3.93165 3.44871 5.69739 3.44871H12.6245M15.4717 6.64585H21.5002M8.89453 8.24442C8.89453 9.12728 8.17882 9.84299 7.29596 9.84299C6.41309 9.84299 5.69739 9.12728 5.69739 8.24442C5.69739 7.36155 6.41309 6.64585 7.29596 6.64585C8.17882 6.64585 8.89453 7.36155 8.89453 8.24442Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
ImageMinus.displayName = "ImageMinus";

export default ImageMinus;