The Phosphor baseball cap icon depicts a casual hat, often used to represent items related to sports, fashion, or outdoor activities in user interfaces.
Common uses
- Representing a clothing store category.
- Indicating a user's profile customization option for headwear.
- Symbolizing a 'fan shop' or merchandise section.
Use it in React
Install
npm i @phosphor-icons/reactImport & render
import { BaseballCap } from '@phosphor-icons/react';
<BaseballCap size={24} />Styles
Phosphor ships this icon in 6 styles — each its own import:
regular
<BaseballCap size={24} />thin
<BaseballCap size={24} weight="thin" />light
<BaseballCap size={24} weight="light" />bold
<BaseballCap size={24} weight="bold" />fill
<BaseballCap size={24} weight="fill" />duotone
<BaseballCap size={24} weight="duotone" />Details
- Library
- Phosphor (1,512 icons)
- License
- MIT
- viewBox
0 0 256 256- Category
- commerce
- Keywords
- clothesclothingsportshatcommerceobjectsbaseballcapsports hatheadwearfashion
FAQ
- What is the baseball cap icon used for?
- It's typically used to represent clothing, sports, or items related to fashion and commerce in UI designs.
- How do I use the baseball cap icon in React?
- You can import and use it like this: import { BaseballCap } from '@phosphor-icons/react'; <BaseballCap />.
- What is the license for this icon?
- The Phosphor baseball cap icon is available under the MIT license.
Related icons
The same idea in other libraries, and near matches in Phosphor.
Looking for something else? Search Phosphor and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →