Icons / attatchment-02 attatchment-02 Attatchment02, one of the 856 Vela UI icons, in the General 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-attatchment-02.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-attatchment-02Copy npx shadcn@latest add @velaui/icon-attatchment-02Copy yarn dlx shadcn@latest add @velaui/icon-attatchment-02Copy bunx --bun shadcn@latest add @velaui/icon-attatchment-02Copy Usage
Copy // components/icons/attatchment-02.tsx
import Attatchment02 from "@/components/icons/attatchment-02"
<Attatchment02 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 Attatchment02Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Attatchment02 ({ size = 24, strokeWidth = 1, className, ref, ... props } : Attatchment02Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M17.4808 6.07172L17.4808 17.281C17.4808 20.3319 15.3731 22.7998 12.2625 22.7998C9.21161 22.7998 7.1999 20.3916 7.1999 17.281L7.1999 4.6806C7.1999 2.75213 8.75222 1.19981 10.6807 1.19981C12.6092 1.19981 14.1615 2.75213 14.1615 4.6806L14.1615 17.5022C14.1615 18.4634 13.3823 19.2426 12.4211 19.2426C11.4599 19.2426 10.6807 18.4634 10.6807 17.5022L10.6807 6.07172" stroke = "currentColor" strokeLinecap = "round" />
</svg>
);
}
Attatchment02.displayName = "Attatchment02" ;
export default Attatchment02;