gentleface

Gentleface › Shopping › baseball-cap

baseball-cap icon

Baseball cap: baseball cap, cap, sports cap. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L7.5 4C7.641 4 7.759 4.048 7.856 4.144C7.952 4.241 8 4.359 8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L7 5C7.712 5 8.328 5.146 8.849 5.439C9.369 5.731 9.794 6.17 10.123 6.755C10.429 7.298 10.653 7.975 10.797 8.788C10.911 9.43 10.977 10.171 10.995 11.011C11.909 11.051 12.667 11.209 13.269 11.482C14.122 11.87 14.69 12.49 14.974 13.342C15.018 13.473 15.009 13.6 14.947 13.724C14.885 13.847 14.789 13.931 14.658 13.974C14.527 14.018 14.4 14.009 14.276 13.947C13.739 13.679 13.166 13.461 12.556 13.295C11.835 13.098 11.15 13 10.5 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 11.5C1 10.571 1.131 9.714 1.393 8.928C1.659 8.129 2.049 7.439 2.563 6.857C3.091 6.258 3.726 5.801 4.468 5.485C5.229 5.162 6.073 5 7 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM10.5 12C10.359 12 10.241 11.952 10.144 11.856C10.048 11.759 10 11.641 10 11.5C10 9.55 9.751 8.132 9.252 7.245C9.015 6.824 8.717 6.513 8.357 6.311C8.249 6.25 8.134 6.199 8.011 6.156C8.358 6.8 8.607 7.492 8.758 8.232C8.854 8.7 8.92 9.227 8.957 9.811C8.983 10.234 8.997 10.784 8.999 11.461C9 11.602 8.952 11.721 8.856 11.818C8.76 11.914 8.642 11.963 8.501 11.963C8.36 11.964 8.241 11.916 8.145 11.82C8.048 11.724 8 11.606 7.999 11.465C7.997 10.807 7.984 10.277 7.959 9.872C7.925 9.335 7.865 8.855 7.779 8.432C7.597 7.544 7.253 6.735 6.748 6.005C6.056 6.031 5.427 6.164 4.86 6.405C4.256 6.662 3.741 7.033 3.312 7.518C2.889 7.999 2.565 8.574 2.342 9.244C2.114 9.927 2 10.679 2 11.5L2 12L10.5 12ZM10.5 12C11.108 12 11.74 12.075 12.394 12.224C11.882 12.075 11.25 12 10.5 12Z"/></svg>
React
// Gentleface "baseball-cap" (line-round), MIT. https://gentleface.com/icons/baseball-cap
import type { SVGProps } from 'react';

export function BaseballCapIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M6.144 4.856C6.048 4.759 6 4.641 6 4.5C6 4.359 6.048 4.241 6.144 4.144C6.241 4.048 6.359 4 6.5 4L7.5 4C7.641 4 7.759 4.048 7.856 4.144C7.952 4.241 8 4.359 8 4.5C8 4.641 7.952 4.759 7.856 4.856C7.759 4.952 7.641 5 7.5 5L7 5C7.712 5 8.328 5.146 8.849 5.439C9.369 5.731 9.794 6.17 10.123 6.755C10.429 7.298 10.653 7.975 10.797 8.788C10.911 9.43 10.977 10.171 10.995 11.011C11.909 11.051 12.667 11.209 13.269 11.482C14.122 11.87 14.69 12.49 14.974 13.342C15.018 13.473 15.009 13.6 14.947 13.724C14.885 13.847 14.789 13.931 14.658 13.974C14.527 14.018 14.4 14.009 14.276 13.947C13.739 13.679 13.166 13.461 12.556 13.295C11.835 13.098 11.15 13 10.5 13L2 13C1.724 13 1.488 12.902 1.293 12.707C1.098 12.512 1 12.276 1 12L1 11.5C1 10.571 1.131 9.714 1.393 8.928C1.659 8.129 2.049 7.439 2.563 6.857C3.091 6.258 3.726 5.801 4.468 5.485C5.229 5.162 6.073 5 7 5L6.5 5C6.359 5 6.241 4.952 6.144 4.856ZM10.5 12C10.359 12 10.241 11.952 10.144 11.856C10.048 11.759 10 11.641 10 11.5C10 9.55 9.751 8.132 9.252 7.245C9.015 6.824 8.717 6.513 8.357 6.311C8.249 6.25 8.134 6.199 8.011 6.156C8.358 6.8 8.607 7.492 8.758 8.232C8.854 8.7 8.92 9.227 8.957 9.811C8.983 10.234 8.997 10.784 8.999 11.461C9 11.602 8.952 11.721 8.856 11.818C8.76 11.914 8.642 11.963 8.501 11.963C8.36 11.964 8.241 11.916 8.145 11.82C8.048 11.724 8 11.606 7.999 11.465C7.997 10.807 7.984 10.277 7.959 9.872C7.925 9.335 7.865 8.855 7.779 8.432C7.597 7.544 7.253 6.735 6.748 6.005C6.056 6.031 5.427 6.164 4.86 6.405C4.256 6.662 3.741 7.033 3.312 7.518C2.889 7.999 2.565 8.574 2.342 9.244C2.114 9.927 2 10.679 2 11.5L2 12L10.5 12ZM10.5 12C11.108 12 11.74 12.075 12.394 12.224C11.882 12.075 11.25 12 10.5 12Z" />
    </svg>
  );
}
Vue
Vue: see /icons/baseball-cap.md
Svelte
Svelte: see /icons/baseball-cap.md
HTML img
HTML img: see /icons/baseball-cap.md
CSS
CSS: see /icons/baseball-cap.md
Data URL
Data URL: see /icons/baseball-cap.md
Sprite
Sprite: see /icons/baseball-cap.md
SwiftUI
SwiftUI: see /icons/baseball-cap.md
Compose
Compose: see /icons/baseball-cap.md
Android XML
Android XML: see /icons/baseball-cap.md
Flutter
Flutter: see /icons/baseball-cap.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { BaseballCapIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
baseball cap, cap, sports cap
Tags
baseball-cap, cap, hat, sports-cap, headwear, clothing, fashion, merch, visor, apparel
Category
Shopping
Component name
BaseballCapIcon
History
  • added, released in 0.6.0
  • 20 px drawn, 24 px drawn
Since
version 0.6.0

Family 2

More shopping icons

For agents

Metadata: /icons/baseball-cap.json · Markdown: /icons/baseball-cap.md · SVG: https://gentleface.com/svg/{style}/16/baseball-cap.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/baseball-cap.png