Cap icon
gg:cap
The Cap icon (gg:cap) is a free SVG icon from the css.gg set by Astrit. It is drawn on a 24 × 24 grid. css.gg icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M8 18v2h8v-2z"/><path fill-rule="evenodd" d="M13.988 3.22Q14 3.112 14 3a2 2 0 1 0-3.988.22a9.003 9.003 0 0 0-6.94 9.926A3 3 0 0 0 1 16v4a3 3 0 0 0 3 3h16a3 3 0 0 0 3-3v-4c0-1.333-.87-2.463-2.072-2.854q.071-.563.072-1.146a9 9 0 0 0-7.012-8.78M12 5a7 7 0 0 0-6.93 8h13.86q.07-.49.07-1a7 7 0 0 0-7-7M3 16a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1z" clip-rule="evenodd"/></g></svg>How to use the Cap icon
React
import { Icon } from "@iconify/react";
<Icon icon="gg:cap" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gg:cap" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gg:cap" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gg--cap]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gg -->
<div class="i-gg:cap"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gg:cap"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/gg/cap.svg" alt="Cap icon" width="24" height="24">Related icons in css.gg
Cap icon in other icon sets
Cap icon FAQ
Is the Cap icon free for commercial use?
Yes. css.gg icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Cap icon in React?
Install @iconify/react and render <Icon icon="gg:cap" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Cap icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/gg/cap.svg" alt="Cap icon">, or paste the SVG code inline to style it with CSS.