ICONYZ
English
Cap icon from Boxicons

Cap icon

boxicons:cap

The Cap icon (boxicons:cap) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons 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
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13.44 3.12C13.27 2.48 12.69 2 12 2s-1.27.48-1.44 1.12C5.73 3.82 2 7.98 2 13v3c0 .55.45 1 1 1v2.18c0 .91.44 1.77 1.18 2.3s1.69.67 2.55.37c3.29-1.12 7.25-1.12 10.54 0a2.85 2.85 0 0 0 2.55-.37c.74-.53 1.18-1.39 1.18-2.3V17c.55 0 1-.45 1-1v-3c0-5.02-3.73-9.18-8.56-9.88M15 13v.24c-.91-.14-1.91-.24-3-.24s-2.09.09-3 .24V13c0-4.88 1.78-8 3-8s3 3.12 3 8M4 14.85V13c0-3.13 1.81-5.84 4.44-7.15C7.54 7.64 7 10.14 7 13v.67c-1.4.39-2.42.87-3 1.18m15 4.33c0 .27-.12.51-.34.67c-.22.15-.49.19-.74.11c-1.85-.63-3.84-.95-5.92-.95s-4.06.32-5.92.95a.78.78 0 0 1-.74-.11a.81.81 0 0 1-.34-.67v-2.59c.97-.5 3.45-1.58 7-1.58s6.03 1.08 7 1.58zm1-4.33c-.58-.31-1.6-.78-3-1.18V13c0-2.86-.54-5.37-1.44-7.15C18.19 7.16 20 9.87 20 13z"/></svg>

How to use the Cap icon

React

import { Icon } from "@iconify/react";

<Icon icon="boxicons:cap" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="boxicons:cap" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="boxicons:cap" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--cap]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:cap"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="boxicons:cap"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/cap.svg" alt="Cap icon" width="24" height="24">

Related icons in Boxicons

Cap icon in other icon sets

Cap icon FAQ

Is the Cap icon free for commercial use?

Yes. Boxicons 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="boxicons: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/boxicons/cap.svg" alt="Cap icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →