ICONYZ
English
Hat Top icon from Lucide Lab

Hat Top icon

lucide-lab:hat-top

The Hat Top icon (lucide-lab:hat-top) is a free SVG icon from the Lucide Lab set by Lucide Contributors. It is drawn on a 24 × 24 grid. Lucide Lab icons are released under the ISC 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
Lucide Lab
Author
Lucide Contributors
License
ISC
Size
24 × 24
Tags
hattop
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" stroke-width="2"><ellipse cx="12" cy="5" rx="7" ry="3"/><path d="M5 5c0 1 1 4 1 6v4c0 1.7 2.7 3 6 3s6-1.3 6-3v-4c0-2 1-5 1-6"/><path d="M18 11c0 1.7-2.7 3-6 3s-6-1.3-6-3"/><path d="M6 11.2C3.6 12.3 2 14 2 16c0 3.3 4.5 6 10 6s10-2.7 10-6c0-2-1.6-3.7-4-4.8"/></g></svg>

How to use the Hat Top icon

React

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

<Icon icon="lucide-lab:hat-top" width="24" />

Vue

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

<template>
  <Icon icon="lucide-lab:hat-top" width="24" />
</template>

Svelte

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

<Icon icon="lucide-lab:hat-top" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[lucide-lab--hat-top]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/lucide-lab -->
<div class="i-lucide-lab:hat-top"></div>

Web component

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

<iconify-icon icon="lucide-lab:hat-top"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lucide-lab/hat-top.svg" alt="Hat Top icon" width="24" height="24">

Related icons in Lucide Lab

Hat Top icon FAQ

Is the Hat Top icon free for commercial use?

Yes. Lucide Lab icons are released under the ISC license, which allows use in personal and commercial projects.

How do I use the Hat Top icon in React?

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

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

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

Browse all Lucide Lab icons →