Icons / attatchment-01 attatchment-01 Attatchment01, 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-01.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-attatchment-01Copy npx shadcn@latest add @velaui/icon-attatchment-01Copy yarn dlx shadcn@latest add @velaui/icon-attatchment-01Copy bunx --bun shadcn@latest add @velaui/icon-attatchment-01Copy Usage
Copy // components/icons/attatchment-01.tsx
import Attatchment01 from "@/components/icons/attatchment-01"
<Attatchment01 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 Attatchment01Props extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Attatchment01 ({ size = 24, strokeWidth = 1, className, ref, ... props } : Attatchment01Props) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M20.2982 12.241L12.3721 20.1671C10.2148 22.3244 6.97936 22.5792 4.77981 20.3796C2.62249 18.2223 2.90287 15.0969 5.10241 12.8974L14.0122 3.98759C15.3758 2.62396 17.5712 2.62396 18.9348 3.98759C20.2984 5.35122 20.2984 7.54654 18.9348 8.91017L9.86855 17.9764C9.18888 18.6561 8.08692 18.6561 7.40726 17.9764C6.72759 17.2968 6.72759 16.1948 7.40725 15.5151L15.4898 7.43255" stroke = "currentColor" strokeLinecap = "round" />
</svg>
);
}
Attatchment01.displayName = "Attatchment01" ;
export default Attatchment01;