Vela UI Docsvenizia.ai

image-up

ImageUp, 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-up.

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

Installation

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

Usage

// components/icons/image-up.tsx
import ImageUp from "@/components/icons/image-up"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ImageUp({ size = 24, strokeWidth = 1, className, ref, ...props }: ImageUpProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M6.375 21L15.9375 12L20.4375 16.5M6.375 21H17.625C19.489 21 21 19.489 21 17.625V12M6.375 21C4.51104 21 3 19.489 3 17.625V6.375C3 4.51104 4.51104 3 6.375 3H13.6875M21 5.1864L18.8009 3L16.5 5.28991M18.8009 3V8.625M9.75 8.0625C9.75 8.99448 8.99448 9.75 8.0625 9.75C7.13052 9.75 6.375 8.99448 6.375 8.0625C6.375 7.13052 7.13052 6.375 8.0625 6.375C8.99448 6.375 9.75 7.13052 9.75 8.0625Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
ImageUp.displayName = "ImageUp";

export default ImageUp;