Hover the icon or press Play. Suggested motion: pop. Pick another to preview it and update the animated code:
Collapse All Compact icon
A free collapse all 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
npx shadcn@latest add https://ui.cuelark.com/r/icons/vscode-codicons/collapse-all-compact.jsonimport * as React from "react";
/**
* Collapse All Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
* Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/collapse-all-compact. Sized in em, colored by currentColor.
*/
export function VscCollapseAllCompactIcon(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="M11 2.08984C11.58 2.28984 12 2.85 12 3.5V8.5C11.9999 10.4299 10.4299 12 8.5 12H3.5C2.85006 12 2.28985 11.5799 2.08984 11H8.5C9.87995 11 10.9999 9.87993 11 8.5V2.08984Z"
/>
<path
d="M7.5 4.5C7.78 4.5 8 4.72 8 5C8 5.28 7.78 5.5 7.5 5.5H2.5C2.22 5.5 2 5.28 2 5C2 4.72 2.22 4.5 2.5 4.5H7.5Z"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M8.5 0C9.33 0 10 0.67 10 1.5V8.5C10 9.33 9.33 10 8.5 10H1.5C0.67 10 0 9.33 0 8.5V1.5C0 0.67 0.67 0 1.5 0H8.5ZM1.5 1C1.22 1 1 1.22 1 1.5V8.5C1 8.78 1.22 9 1.5 9H8.5C8.78 9 9 8.78 9 8.5V1.5C9 1.22 8.78 1 8.5 1H1.5Z"
/>
</svg>
);
}import { VscCollapseAllCompact } from "react-icons/vsc";
export function Example() {
return <VscCollapseAllCompact className="size-5" />;
}<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="M11 2.08984C11.58 2.28984 12 2.85 12 3.5V8.5C11.9999 10.4299 10.4299 12 8.5 12H3.5C2.85006 12 2.28985 11.5799 2.08984 11H8.5C9.87995 11 10.9999 9.87993 11 8.5V2.08984Z"
/>
<path
d="M7.5 4.5C7.78 4.5 8 4.72 8 5C8 5.28 7.78 5.5 7.5 5.5H2.5C2.22 5.5 2 5.28 2 5C2 4.72 2.22 4.5 2.5 4.5H7.5Z"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8.5 0C9.33 0 10 0.67 10 1.5V8.5C10 9.33 9.33 10 8.5 10H1.5C0.67 10 0 9.33 0 8.5V1.5C0 0.67 0.67 0 1.5 0H8.5ZM1.5 1C1.22 1 1 1.22 1 1.5V8.5C1 8.78 1.22 9 1.5 9H8.5C8.78 9 9 8.78 9 8.5V1.5C9 1.22 8.78 1 8.5 1H1.5Z"
/>
</svg>"Collapse All Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.Related icons: chevron, caret, angle, arrow
- add compact
- agent compact
- ask compact
- attach compact
- beaker compact
- check all
- check compact
- checklist compact
- chevron down compact
- chevron left compact
- chevron right compact
- chevron up compact
- circle filled compact
- circle slash compact
- circle small filled compact
- clear all
- close all
- close compact
- cloud compact
- collapse all
- comment compact
- comment unresolved compact
- copilot compact
- debug all
Similar VS Code Icons icons
- close all
- close compact
- cloud
- cloud compact
- cloud download
- cloud small
- cloud upload
- code
- code oss
- code review
- coffee
- collapse all
- collection
- collection small
- color mode
- combine
- comment
- comment compact
- comment discussion
- comment discussion quote
- comment discussion sparkle
- comment draft
- comment unresolved
- comment unresolved compact