ICONYZ
English
Baseball Cap icon from Phosphor

Baseball Cap icon

ph:baseball-cap

The Baseball Cap icon (ph:baseball-cap) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
clothes, clothing, sports, hat, baseballcap
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M128 24A104.12 104.12 0 0 0 24 128v56a24 24 0 0 0 24 24a24.1 24.1 0 0 0 14.18-4.64C74.33 194.53 95.6 184 128 184s53.67 10.52 65.81 19.35A24 24 0 0 0 232 184v-56A104.12 104.12 0 0 0 128 24m88 104v8.87a166 166 0 0 0-40.94-18.22a167 167 0 0 0-28.87-76.75A88.14 88.14 0 0 1 216 128m-88-83.73a152.5 152.5 0 0 1 30.4 70.46a170.9 170.9 0 0 0-60.84 0A153.3 153.3 0 0 1 128 44.27m-18.19-2.37a167 167 0 0 0-28.87 76.76A166 166 0 0 0 40 136.88V128a88.14 88.14 0 0 1 69.81-86.1m101.85 149.21a8 8 0 0 1-8.44-.69C189.16 180.2 164.7 168 128 168s-61.16 12.2-75.22 22.42a8 8 0 0 1-8.44.69A7.77 7.77 0 0 1 40 184v-27.93a152 152 0 0 1 176 0V184a7.77 7.77 0 0 1-4.34 7.11"/></svg>

How to use the Baseball Cap icon

React

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

<Icon icon="ph:baseball-cap" width="24" />

Vue

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

<template>
  <Icon icon="ph:baseball-cap" width="24" />
</template>

Svelte

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

<Icon icon="ph:baseball-cap" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ph:baseball-cap"></iconify-icon>

HTML image

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

Related icons in Phosphor

Baseball Cap icon in other icon sets

Baseball Cap icon FAQ

Is the Baseball Cap icon free for commercial use?

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

How do I use the Baseball Cap icon in React?

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

How do I add the Baseball Cap icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/baseball-cap.svg" alt="Baseball Cap icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →