Vela UI Docsvenizia.ai

file-none

FileNone, 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-none.

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

Installation

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

Usage

// components/icons/file-none.tsx
import FileNone from "@/components/icons/file-none"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function FileNone({ size = 24, strokeWidth = 1, className, ref, ...props }: FileNoneProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M15 2.4002V6.0002C15 6.66294 15.5373 7.20019 16.2 7.20019H19.8M15 2.4002H15.6694C16.0074 2.4002 16.329 2.54253 16.5619 2.78747C16.9117 3.15557 17.4659 3.72234 18 4.2002C18.4186 4.57471 19.0762 5.24684 19.47 5.65533C19.6829 5.87623 19.8 6.17119 19.8 6.47803L19.8 7.20019M15 2.4002H5.99963M19.8 7.20019L19.7998 21.0002M4.19963 8.40019V19.2001C4.19962 20.5256 5.27414 21.6001 6.59962 21.6001H14.3996M20.4 22.8002L3.60001 1.2002" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
FileNone.displayName = "FileNone";

export default FileNone;