Cap icon
hugeicons:cap
The Cap icon (hugeicons:cap) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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.
- Icon set
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="m2.5 17l-.442-2.474C1.425 8.636 6.056 3.5 12 3.5s10.575 5.136 9.942 11.026L21.5 17"/><path d="M8.016 10.5c-.203-3.205 1.582-7 3.984-7m4 7c.203-3.205-1.582-7-3.984-7M12 3V2M2.5 17.01c8-2.867 11-2.486 19 0c-.276 1.12-.427 4.29-1.649 4.887c-.586.286-1.426-.098-2.03-.242c-2.896-.692-4.344-1.038-5.821-1.038s-2.925.346-5.821 1.038c-.604.144-1.444.528-2.03.242c-1.222-.598-1.373-3.766-1.649-4.888"/></g></svg>How to use the Cap icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:cap" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:cap" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:cap" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--cap]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:cap"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:cap"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/cap.svg" alt="Cap icon" width="24" height="24">Related icons in Huge Icons
Cap icon in other icon sets
Cap icon FAQ
Is the Cap icon free for commercial use?
Yes. Huge 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="hugeicons: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/hugeicons/cap.svg" alt="Cap icon">, or paste the SVG code inline to style it with CSS.