ICONYZ
English
Sun Hat icon from IconPark

Sun Hat icon

icon-park:sun-hat

The Sun Hat icon (icon-park:sun-hat) is a free SVG icon from the IconPark set by ByteDance. It is drawn on a 48 × 48 grid. IconPark icons are released under the Apache 2.0 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
IconPark
Author
ByteDance
License
Apache-2.0
Size
48 × 48
Category
Clothes
Tags
sunhat
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="4"><path fill="#2F88FF" d="M12 10C12 8.89543 12.8954 8 14 8H34C35.1046 8 36 8.89543 36 10V20H12V10Z"/><path d="M44 35C42.8917 36.3333 41.625 40 36.4 40C33.6627 40 29.9439 38.3161 25 37"/><path d="M4 35C4 35 10 26 12 20H36C38 26 44 35 44 35C38 31 19 40 12 40C6.5 40 5.16667 36.3333 4 35Z"/></g></svg>

How to use the Sun Hat icon

React

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

<Icon icon="icon-park:sun-hat" width="24" />

Vue

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

<template>
  <Icon icon="icon-park:sun-hat" width="24" />
</template>

Svelte

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

<Icon icon="icon-park:sun-hat" width="24" />

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/icon-park -->
<div class="i-icon-park:sun-hat"></div>

Web component

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

<iconify-icon icon="icon-park:sun-hat"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/icon-park/sun-hat.svg" alt="Sun Hat icon" width="24" height="24">

Related icons in IconPark

Sun Hat icon in other icon sets

Sun Hat icon FAQ

Is the Sun Hat icon free for commercial use?

Yes. IconPark icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Sun Hat icon in React?

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

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

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

Browse all IconPark icons →