Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:

VS Code Icons · VscAttachCompact

Attach Compact icon

A free attach compact icon from VS Code Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
CC BY 4.0 license
Project
github.com
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/attach-compact.json
components/icons/vscode-codicons-attach-compact.tsx
import * as React from "react";

/**
 * Attach Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/attach-compact. Sized in em, colored by currentColor.
 */
export function VscAttachCompactIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      viewBox="0 0 12 12"
      stroke="currentColor"
      fill="currentColor"
      strokeWidth="0"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M3.15999 12H2.91999C1.85999 12 1.00999 11.14 1.00999 10.09C1.00999 9.58 1.20999 9.1 1.56999 8.74L7.14999 3.15C7.34999 2.95 7.65999 2.95 7.85999 3.15C8.05999 3.35 8.05999 3.66 7.85999 3.86L2.26999 9.45C2.09999 9.62 1.99999 9.86 1.99999 10.1C1.99999 10.6 2.40999 11.01 2.90999 11.01H3.14999C3.38999 11.01 3.62999 10.91 3.79999 10.74L9.25999 5.28C9.72999 4.81 9.98999 4.18 9.98999 3.51C9.98999 2.13 8.86999 1.01 7.48999 1.01C6.81999 1.01 6.18999 1.27 5.71999 1.74L1.34999 6.11C1.14999 6.31 0.83999 6.31 0.63999 6.11C0.43999 5.91 0.43999 5.6 0.63999 5.4L5.02999 1.03C5.68999 0.37 6.56999 0 7.49999 0C9.42999 0 11 1.57 11 3.5C11 4.44 10.64 5.31 9.96999 5.97L4.50999 11.43C4.14999 11.79 3.66999 11.99 3.15999 11.99V12Z"
      />
    </svg>
  );
}
With react-icons
import { VscAttachCompact } from "react-icons/vsc";

export function Example() {
  return <VscAttachCompact className="size-5" />;
}
attach-compact.svg
<svg
  viewBox="0 0 12 12"
  stroke="currentColor"
  fill="currentColor"
  stroke-width="0"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="M3.15999 12H2.91999C1.85999 12 1.00999 11.14 1.00999 10.09C1.00999 9.58 1.20999 9.1 1.56999 8.74L7.14999 3.15C7.34999 2.95 7.65999 2.95 7.85999 3.15C8.05999 3.35 8.05999 3.66 7.85999 3.86L2.26999 9.45C2.09999 9.62 1.99999 9.86 1.99999 10.1C1.99999 10.6 2.40999 11.01 2.90999 11.01H3.14999C3.38999 11.01 3.62999 10.91 3.79999 10.74L9.25999 5.28C9.72999 4.81 9.98999 4.18 9.98999 3.51C9.98999 2.13 8.86999 1.01 7.48999 1.01C6.81999 1.01 6.18999 1.27 5.71999 1.74L1.34999 6.11C1.14999 6.31 0.83999 6.31 0.63999 6.11C0.43999 5.91 0.43999 5.6 0.63999 5.4L5.02999 1.03C5.68999 0.37 6.56999 0 7.49999 0C9.42999 0 11 1.57 11 3.5C11 4.44 10.64 5.31 9.96999 5.97L4.50999 11.43C4.14999 11.79 3.66999 11.99 3.15999 11.99V12Z"
  />
</svg>
Attribution
"Attach Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: attachment, paperclip, clip, file