Vela UI Docsvenizia.ai

file-01

File01, 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-01.

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

Installation

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

Usage

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

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function File01({ size = 24, strokeWidth = 1, className, ref, ...props }: File01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M17.7999 2.3999H6.59972C5.27424 2.3999 4.19972 3.47441 4.19972 4.79989L4.19962 19.1998C4.19961 20.5253 5.27413 21.5998 6.59961 21.5998L17.3997 21.5999C18.7251 21.5999 19.7996 20.5254 19.7997 19.2L19.7999 4.39994C19.8 3.29536 18.9045 2.3999 17.7999 2.3999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
File01.displayName = "File01";

export default File01;