Vela UI Docsvenizia.ai

upload-01

Upload01, 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-upload-01.

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

Installation

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

Usage

// components/icons/upload-01.tsx
import Upload01 from "@/components/icons/upload-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Upload01({ size = 24, strokeWidth = 1, className, ref, ...props }: Upload01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M5.89286 15.4289C4.29518 15.4289 3 14.4291 3 12.9631C3 11.4972 4.29518 10.3088 5.89286 10.3088C6.0015 10.3088 6.10875 10.3143 6.21429 10.325V10.3088H6.25407C6.22781 10.1155 6.21429 9.91866 6.21429 9.71889C6.21429 7.11272 8.51682 5 11.3571 5C13.2805 5 14.9573 5.96881 15.8395 7.40361C16.0551 7.37452 16.2756 7.35945 16.5 7.35945C18.9853 7.35945 21 9.20808 21 11.4885C21 13.3657 19.6348 14.7967 17.7656 15.2684M11.858 19V12.2258M14.8125 15.0196L11.858 12.2258L8.90625 15.0196" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Upload01.displayName = "Upload01";

export default Upload01;