Vela UI Docsvenizia.ai

file-02

File02, 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-02.

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

Installation

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

Usage

// components/icons/file-02.tsx
import File02 from "@/components/icons/file-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function File02({ size = 24, strokeWidth = 1, className, ref, ...props }: File02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M8.40022 7.1999H15.6002M8.40022 10.7999H15.6002M8.40022 14.3999H12.0002M6.59994 2.3999H17.4002C18.7257 2.3999 19.8002 3.47445 19.8002 4.79995L19.7999 19.2C19.7999 20.5254 18.7253 21.5999 17.3999 21.5999L6.59983 21.5998C5.27435 21.5998 4.19984 20.5253 4.19984 19.1998L4.19994 4.79989C4.19995 3.47441 5.27446 2.3999 6.59994 2.3999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
File02.displayName = "File02";

export default File02;