Skip to content
Cuelark UI

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

VS Code Icons · VscShieldCompact

Shield Compact icon

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

/**
 * Shield Compact from VS Code Icons (https://github.com/microsoft/vscode-codicons), CC BY 4.0.
 * Via Cuelark UI: ui.cuelark.com/icons/vscode-codicons/shield-compact. Sized in em, colored by currentColor.
 */
export function VscShieldCompactIcon(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="M10.5 1.83299C8.969 1.83299 7.594 1.55499 6.354 0.312992C6.257 0.215992 6.128 0.166992 6 0.166992C5.873 0.166992 5.745 0.215992 5.648 0.312992C4.405 1.55499 3.029 1.83299 1.5 1.83299C1.224 1.83299 1 2.05699 1 2.33299V5.33499C1 8.55299 2.642 10.74 5.841 11.808C5.893 11.825 5.946 11.834 6 11.834C6.054 11.834 6.107 11.825 6.159 11.808C9.36 10.741 11 8.55299 11 5.33499V2.33299C11 2.05699 10.775 1.83299 10.5 1.83299ZM10 5.33499C10 8.06599 8.692 9.85599 6 10.805C3.309 9.85699 2 8.06599 2 5.33499V2.82299C3.222 2.77199 4.669 2.49499 6 1.34899C7.329 2.49599 8.778 2.77299 10 2.82299V5.33499ZM6 4.49999C6.552 4.49999 7 4.94799 7 5.49999C7 5.86999 6.799 6.19299 6.5 6.36599V6.99999C6.5 7.27599 6.276 7.49999 6 7.49999C5.724 7.49999 5.5 7.27599 5.5 6.99999V6.36599C5.201 6.19299 5 5.86999 5 5.49999C5 4.94799 5.448 4.49999 6 4.49999Z"
      />
    </svg>
  );
}
With react-icons
import { VscShieldCompact } from "react-icons/vsc";

export function Example() {
  return <VscShieldCompact className="size-5" />;
}
shield-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="M10.5 1.83299C8.969 1.83299 7.594 1.55499 6.354 0.312992C6.257 0.215992 6.128 0.166992 6 0.166992C5.873 0.166992 5.745 0.215992 5.648 0.312992C4.405 1.55499 3.029 1.83299 1.5 1.83299C1.224 1.83299 1 2.05699 1 2.33299V5.33499C1 8.55299 2.642 10.74 5.841 11.808C5.893 11.825 5.946 11.834 6 11.834C6.054 11.834 6.107 11.825 6.159 11.808C9.36 10.741 11 8.55299 11 5.33499V2.33299C11 2.05699 10.775 1.83299 10.5 1.83299ZM10 5.33499C10 8.06599 8.692 9.85599 6 10.805C3.309 9.85699 2 8.06599 2 5.33499V2.82299C3.222 2.77199 4.669 2.49499 6 1.34899C7.329 2.49599 8.778 2.77299 10 2.82299V5.33499ZM6 4.49999C6.552 4.49999 7 4.94799 7 5.49999C7 5.86999 6.799 6.19299 6.5 6.36599V6.99999C6.5 7.27599 6.276 7.49999 6 7.49999C5.724 7.49999 5.5 7.27599 5.5 6.99999V6.36599C5.201 6.19299 5 5.86999 5 5.49999C5 4.94799 5.448 4.49999 6 4.49999Z"
  />
</svg>
Attribution
"Shield Compact" icon from VS Code Icons (https://github.com/microsoft/vscode-codicons), licensed under CC BY 4.0 license.

Related icons: security, protection, safe, guard