Skip to content
Cuelark UI

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

VS Code Icons · VscAddCompact

Add Compact icon

A free add 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/add-compact.json
components/icons/vscode-codicons-add-compact.tsx
import * as React from "react";

/**
 * Add Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/add-compact. Sized in em, colored by currentColor.
 */
export function VscAddCompactIcon(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="M6 0.5C6 0.224 5.776 0 5.5 0C5.224 0 5 0.224 5 0.5V5H0.5C0.224 5 0 5.224 0 5.5C0 5.776 0.224 6 0.5 6H5V10.5C5 10.776 5.224 11 5.5 11C5.776 11 6 10.776 6 10.5V6H10.5C10.776 6 11 5.776 11 5.5C11 5.224 10.776 5 10.5 5H6V0.5Z"
      />
    </svg>
  );
}
With react-icons
import { VscAddCompact } from "react-icons/vsc";

export function Example() {
  return <VscAddCompact className="size-5" />;
}
add-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="M6 0.5C6 0.224 5.776 0 5.5 0C5.224 0 5 0.224 5 0.5V5H0.5C0.224 5 0 5.224 0 5.5C0 5.776 0.224 6 0.5 6H5V10.5C5 10.776 5.224 11 5.5 11C5.776 11 6 10.776 6 10.5V6H10.5C10.776 6 11 5.776 11 5.5C11 5.224 10.776 5 10.5 5H6V0.5Z"
  />
</svg>
Attribution
"Add Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: plus, new, create, insert