Vela UI Docsvenizia.ai

file-down-01

FileDown01, 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-down-01.

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

Installation

pnpm dlx velaui add @velaui/icon-file-down-01

Usage

// components/icons/file-down-01.tsx
import FileDown01 from "@/components/icons/file-down-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function FileDown01({ size = 24, strokeWidth = 1, className, ref, ...props }: FileDown01Props) {
  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.5998H5.99981C4.67433 21.5998 3.59981 20.5253 3.59982 19.1998L3.59992 4.79989C3.59992 3.47441 4.67444 2.3999 5.99992 2.3999H16.8002C18.1257 2.3999 19.2002 3.47442 19.2002 4.7999V11.3999M15.6002 19.2677L17.9459 21.5999L20.4002 19.1573M17.9459 21.5999V15.5999" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
FileDown01.displayName = "FileDown01";

export default FileDown01;