Vela UI Docsvenizia.ai

file-up

FileUp, one of the 856 Vela UI icons, in the Files 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-file-up.

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

Installation

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

Usage

// components/icons/file-up.tsx
import FileUp from "@/components/icons/file-up"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function FileUp({ size = 24, strokeWidth = 1, className, ref, ...props }: FileUpProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M10.7998 21.5998H6.59982C5.27433 21.5998 4.19982 20.5253 4.19983 19.1998L4.19992 4.79989C4.19993 3.47441 5.27444 2.3999 6.59992 2.3999H17.4002C18.7257 2.3999 19.8002 3.47442 19.8002 4.7999V12.5999M19.8002 21.5999L17.4002 19.1999M17.4002 19.1999L15.0002 16.7999M17.4002 19.1999L15.0002 21.5999M17.4002 19.1999L19.8002 16.7999" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
FileUp.displayName = "FileUp";

export default FileUp;