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 · VscFolderCompact

Folder Compact icon

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

/**
 * Folder Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/folder-compact. Sized in em, colored by currentColor.
 */
export function VscFolderCompactIcon(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="M9.5 2H5.707L5.293 1.586C4.921 1.213 4.405 1 3.879 1H2.5C1.122 1 0 2.122 0 3.5V8.5C0 9.878 1.122 11 2.5 11H9.5C10.878 11 12 9.878 12 8.5V4.5C12 3.122 10.878 2 9.5 2ZM2.5 2H3.879C4.142 2 4.4 2.107 4.586 2.293L5.293 3L4.586 3.707C4.4 3.893 4.142 4 3.879 4H1V3.5C1 2.673 1.673 2 2.5 2ZM11 8.5C11 9.327 10.327 10 9.5 10H2.5C1.673 10 1 9.327 1 8.5V5H3.879C4.405 5 4.921 4.787 5.293 4.414L6.707 3H9.5C10.327 3 11 3.673 11 4.5V8.5Z"
      />
    </svg>
  );
}
With react-icons
import { VscFolderCompact } from "react-icons/vsc";

export function Example() {
  return <VscFolderCompact className="size-5" />;
}
folder-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="M9.5 2H5.707L5.293 1.586C4.921 1.213 4.405 1 3.879 1H2.5C1.122 1 0 2.122 0 3.5V8.5C0 9.878 1.122 11 2.5 11H9.5C10.878 11 12 9.878 12 8.5V4.5C12 3.122 10.878 2 9.5 2ZM2.5 2H3.879C4.142 2 4.4 2.107 4.586 2.293L5.293 3L4.586 3.707C4.4 3.893 4.142 4 3.879 4H1V3.5C1 2.673 1.673 2 2.5 2ZM11 8.5C11 9.327 10.327 10 9.5 10H2.5C1.673 10 1 9.327 1 8.5V5H3.879C4.405 5 4.921 4.787 5.293 4.414L6.707 3H9.5C10.327 3 11 3.673 11 4.5V8.5Z"
  />
</svg>
Attribution
"Folder Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: directory, files, archive, collection