Icons / file-attach-02 file-attach-02 FileAttach02, 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-attach-02.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-file-attach-02Copy npx shadcn@latest add @velaui/icon-file-attach-02Copy yarn dlx shadcn@latest add @velaui/icon-file-attach-02Copy bunx --bun shadcn@latest add @velaui/icon-file-attach-02Copy Usage
Copy // components/icons/file-attach-02.tsx
import FileAttach02 from "@/components/icons/file-attach-02"
<FileAttach02 className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface FileAttach02Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function FileAttach02 ({ size = 24, strokeWidth = 1, className, ref, ... props } : FileAttach02Props) {
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.5998H6.5998C5.27432 21.5998 4.19981 20.5253 4.19981 19.1998L4.19991 4.79989C4.19992 3.47441 5.27443 2.3999 6.59991 2.3999H17.4002C18.7257 2.3999 19.8002 3.47442 19.8002 4.7999V10.1999M13.8002 15.5541V18.4984C13.8002 19.9534 15.3516 21.2879 16.8066 21.2879C18.2615 21.2879 19.8002 19.9534 19.8002 18.4984V14.7792C19.8002 14.009 19.3574 13.2273 18.3724 13.2273C17.3186 13.2273 16.8066 14.009 16.8066 14.7792V18.3435" stroke = "currentColor" strokeLinecap = "round" />
</svg>
);
}
FileAttach02.displayName = "FileAttach02" ;
export default FileAttach02;