Gentleface › Security & privacy › shield-code
shield-code icon
shield-codeShield code: code security, code scanning, secure code. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated shield-code-snap · line-round
The < and > fold toward each other and snap shut into a >< in the middle. They spring back out past their places and settle, and the badge kicks out against the shield.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 1.45 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.552 3.335 10.521 4.006 11.409C4.575 12.163 5.351 12.821 6.332 13.383C6.35 13.43 6.368 13.478 6.386 13.525C6.468 13.731 6.561 13.931 6.665 14.123C6.663 14.128 6.66 14.132 6.658 14.136C6.589 14.26 6.49 14.34 6.359 14.378C6.228 14.415 6.101 14.4 5.978 14.331C4.811 13.684 3.887 12.911 3.208 12.012C2.403 10.946 2 9.775 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146L8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z"/></svg>
// Gentleface "shield-code" (line-round), MIT. https://gentleface.com/icons/shield-code
import type { SVGProps } from 'react';
export function ShieldCodeIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M2.144 3.144C2.241 3.048 2.359 3 2.5 3C3.471 3 4.307 2.865 5.008 2.596C5.754 2.309 6.467 1.826 7.146 1.146C7.244 1.049 7.362 1 7.5 1C7.638 1 7.756 1.049 7.854 1.146C8.533 1.826 9.246 2.309 9.992 2.596C10.693 2.865 11.529 3 12.5 3C12.641 3 12.759 3.048 12.856 3.144C12.952 3.241 13 3.359 13 3.5L13 5.5C13 5.641 12.952 5.759 12.856 5.856C12.759 5.952 12.641 6 12.5 6C12.359 6 12.241 5.952 12.144 5.856C12.048 5.759 12 5.641 12 5.5L12 3.989C11.111 3.947 10.322 3.794 9.633 3.529C8.886 3.242 8.175 2.795 7.5 2.189C6.825 2.795 6.114 3.242 5.367 3.529C4.678 3.794 3.889 3.947 3 3.989L3 8.5C3 9.552 3.335 10.521 4.006 11.409C4.575 12.163 5.351 12.821 6.332 13.383C6.35 13.43 6.368 13.478 6.386 13.525C6.468 13.731 6.561 13.931 6.665 14.123C6.663 14.128 6.66 14.132 6.658 14.136C6.589 14.26 6.49 14.34 6.359 14.378C6.228 14.415 6.101 14.4 5.978 14.331C4.811 13.684 3.887 12.911 3.208 12.012C2.403 10.946 2 9.775 2 8.5L2 3.5C2 3.359 2.048 3.241 2.144 3.144ZM13.156 7.316C13.734 7.545 14.243 7.879 14.682 8.318C15.121 8.757 15.455 9.266 15.684 9.844C15.895 10.376 16 10.928 16 11.5C16 12.072 15.895 12.624 15.684 13.156C15.455 13.734 15.121 14.243 14.682 14.682C14.243 15.121 13.734 15.455 13.156 15.684C12.624 15.895 12.072 16 11.5 16C10.928 16 10.376 15.895 9.844 15.684C9.266 15.455 8.757 15.121 8.318 14.682C7.879 14.243 7.545 13.734 7.316 13.156C7.105 12.624 7 12.072 7 11.5C7 10.928 7.105 10.376 7.316 9.844C7.545 9.266 7.879 8.757 8.318 8.318C8.757 7.879 9.266 7.545 9.844 7.316C10.376 7.105 10.928 7 11.5 7C12.072 7 12.624 7.105 13.156 7.316ZM10.854 9.146C10.658 8.951 10.342 8.951 10.146 9.146L8.5 10.793C8.305 10.988 8.207 11.224 8.207 11.5C8.207 11.776 8.305 12.012 8.5 12.207L10.146 13.854C10.342 14.049 10.658 14.049 10.854 13.854C11.049 13.658 11.049 13.342 10.854 13.146L9.207 11.5L10.854 9.854C11.049 9.658 11.049 9.342 10.854 9.146ZM12.854 9.146C12.658 8.951 12.342 8.951 12.146 9.146C11.951 9.342 11.951 9.658 12.146 9.854L13.793 11.5L12.146 13.146C11.951 13.342 11.951 13.658 12.146 13.854C12.342 14.049 12.658 14.049 12.854 13.854L14.5 12.207C14.695 12.012 14.793 11.776 14.793 11.5C14.793 11.224 14.695 10.988 14.5 10.793L12.854 9.146Z" />
</svg>
);
}Vue: see /icons/shield-code.md
Svelte: see /icons/shield-code.md
HTML img: see /icons/shield-code.md
CSS: see /icons/shield-code.md
Data URL: see /icons/shield-code.md
Sprite: see /icons/shield-code.md
SwiftUI: see /icons/shield-code.md
Compose: see /icons/shield-code.md
Android XML: see /icons/shield-code.md
Flutter: see /icons/shield-code.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { ShieldCodeIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- code security, code scanning, secure code
- Example
- Code scanning alerts in a repository's security tab
- Built from
shield+ code- Tags
- security, protect, guard, safe, code
- Category
- Security & privacy
- Component name
ShieldCodeIcon- History
- added, released in 0.4.0
- Since
- version 0.4.0
Family 23
More security & privacy icons
brick-wall brick-wall-flame brick-wall-flame-check cctv cctv-off fingerprint fingerprint-check fingerprint-off fingerprint-plus fingerprint-scan fingerprint-x incognito incognito-off input-password input-password-check input-password-off · all security & privacy icons
For agents
Metadata: /icons/shield-code.json · Markdown: /icons/shield-code.md · SVG: https://gentleface.com/svg/{style}/16/shield-code.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/shield-code.png