Vela UI Docsvenizia.ai

file-shield-01

FileShield01, 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-shield-01.

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

Installation

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

Usage

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

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function FileShield01({ size = 24, strokeWidth = 1, className, ref, ...props }: FileShield01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M10.2 21.5999H7.8C5.81177 21.5999 4.2 19.9881 4.2 17.9999V5.9999C4.2 4.01168 5.81177 2.3999 7.8 2.3999H16.2C18.1882 2.3999 19.8 4.01168 19.8 5.9999V8.9999M13.8 14.6999L15.19 14.0049C16.2035 13.4981 17.3965 13.4981 18.41 14.0049L19.8 14.6999C19.8 14.6999 19.8 16.8899 19.8 18.0449C19.8 19.1999 18.7323 19.9796 16.8 21.1999C14.8677 19.9796 13.8 18.9499 13.8 18.0449V14.6999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
FileShield01.displayName = "FileShield01";

export default FileShield01;