ICONYZ
English
Captain Hat icon from IconOven

Captain Hat icon

iconoven:captain-hat

The Captain Hat icon (iconoven:captain-hat) is a free SVG icon from the IconOven set by Appic Marketing. It is drawn on a 24 × 24 grid. IconOven 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
IconOven
Author
Appic Marketing
License
MIT
Size
24 × 24
Tags
captainhat
Download SVG

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"><path stroke-width="1.5" d="M3 9.75C3 7.25 7 5 12 5s9 2.25 9 4.75c0 1.25-1 2-2.25 2.25v2.5H5.25V12C4 11.75 3 11 3 9.75M5.25 12h13.5"/><path stroke-width="2" d="M12 8.25h.01"/><path stroke-width="1.5" d="M5.25 17.5h13.5l-.6 1.6c-.35.85-1.2 1.4-2.1 1.4h-7.9c-.9 0-1.75-.55-2.1-1.4Z"/></g></svg>

How to use the Captain Hat icon

React

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

<Icon icon="iconoven:captain-hat" width="24" />

Vue

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

<template>
  <Icon icon="iconoven:captain-hat" width="24" />
</template>

Svelte

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

<Icon icon="iconoven:captain-hat" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[iconoven--captain-hat]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/iconoven -->
<div class="i-iconoven:captain-hat"></div>

Web component

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

<iconify-icon icon="iconoven:captain-hat"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/iconoven/captain-hat.svg" alt="Captain Hat icon" width="24" height="24">

Related icons in IconOven

Captain Hat icon FAQ

Is the Captain Hat icon free for commercial use?

Yes. IconOven icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Captain Hat icon in React?

Install @iconify/react and render <Icon icon="iconoven:captain-hat" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Captain Hat icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/iconoven/captain-hat.svg" alt="Captain Hat icon">, or paste the SVG code inline to style it with CSS.

Browse all IconOven icons →