Gentleface › Games & sports › baseball
baseball icon
baseballBaseball: baseball, softball. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated baseball-hit · line-round
A bat swings up from the bottom left corner and meets the ball, which flies off the top right edge with backspin, seams turning. It drops straight back in from the top and lands in an unseen glove with a soft give.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.2 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM5.856 5.144C5.952 5.241 6 5.359 6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6L4.772 6C4.924 6.481 5 6.981 5 7.5C5 8.019 4.924 8.519 4.772 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L4.33 10C4.078 10.438 3.768 10.827 3.4 11.167C3.468 11.242 3.538 11.317 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.462 11.317 11.532 11.242 11.6 11.167C11.232 10.827 10.922 10.438 10.67 10L9.5 10C9.359 10 9.241 9.952 9.144 9.856C9.048 9.759 9 9.641 9 9.5C9 9.359 9.048 9.241 9.144 9.144C9.241 9.048 9.359 9 9.5 9L10.228 9C10.076 8.519 10 8.019 10 7.5C10 6.981 10.076 6.481 10.228 6L9.5 6C9.359 6 9.241 5.952 9.144 5.856C9.048 5.759 9 5.641 9 5.5C9 5.359 9.048 5.241 9.144 5.144C9.241 5.048 9.359 5 9.5 5L10.67 5C10.922 4.562 11.232 4.173 11.6 3.833C11.532 3.758 11.462 3.683 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.538 3.683 3.468 3.758 3.4 3.833C3.768 4.173 4.078 4.562 4.33 5L5.5 5C5.641 5 5.759 5.048 5.856 5.144ZM2.8 10.358C3.091 10.074 3.334 9.749 3.529 9.382C3.843 8.794 4 8.167 4 7.5C4 6.833 3.843 6.206 3.529 5.618C3.334 5.251 3.091 4.926 2.8 4.642C2.64 4.905 2.502 5.183 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.502 9.817 2.64 10.095 2.8 10.358ZM11 7.5C11 8.167 11.157 8.794 11.471 9.382C11.666 9.749 11.909 10.074 12.2 10.358C12.36 10.095 12.498 9.817 12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.498 5.183 12.36 4.905 12.2 4.642C11.909 4.926 11.666 5.251 11.471 5.618C11.157 6.206 11 6.833 11 7.5Z"/></svg>
// Gentleface "baseball" (line-round), MIT. https://gentleface.com/icons/baseball
import type { SVGProps } from 'react';
export function BaseballIcon(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="M2.904 2.904C3.538 2.269 4.273 1.787 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.213 10.727 12.731 11.462 12.096 12.096C11.462 12.731 10.727 13.213 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.787 4.273 2.269 3.538 2.904 2.904ZM5.856 5.144C5.952 5.241 6 5.359 6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6L4.772 6C4.924 6.481 5 6.981 5 7.5C5 8.019 4.924 8.519 4.772 9L5.5 9C5.641 9 5.759 9.048 5.856 9.144C5.952 9.241 6 9.359 6 9.5C6 9.641 5.952 9.759 5.856 9.856C5.759 9.952 5.641 10 5.5 10L4.33 10C4.078 10.438 3.768 10.827 3.4 11.167C3.468 11.242 3.538 11.317 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389C11.462 11.317 11.532 11.242 11.6 11.167C11.232 10.827 10.922 10.438 10.67 10L9.5 10C9.359 10 9.241 9.952 9.144 9.856C9.048 9.759 9 9.641 9 9.5C9 9.359 9.048 9.241 9.144 9.144C9.241 9.048 9.359 9 9.5 9L10.228 9C10.076 8.519 10 8.019 10 7.5C10 6.981 10.076 6.481 10.228 6L9.5 6C9.359 6 9.241 5.952 9.144 5.856C9.048 5.759 9 5.641 9 5.5C9 5.359 9.048 5.241 9.144 5.144C9.241 5.048 9.359 5 9.5 5L10.67 5C10.922 4.562 11.232 4.173 11.6 3.833C11.532 3.758 11.462 3.683 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611C3.538 3.683 3.468 3.758 3.4 3.833C3.768 4.173 4.078 4.562 4.33 5L5.5 5C5.641 5 5.759 5.048 5.856 5.144ZM2.8 10.358C3.091 10.074 3.334 9.749 3.529 9.382C3.843 8.794 4 8.167 4 7.5C4 6.833 3.843 6.206 3.529 5.618C3.334 5.251 3.091 4.926 2.8 4.642C2.64 4.905 2.502 5.183 2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.502 9.817 2.64 10.095 2.8 10.358ZM11 7.5C11 8.167 11.157 8.794 11.471 9.382C11.666 9.749 11.909 10.074 12.2 10.358C12.36 10.095 12.498 9.817 12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.498 5.183 12.36 4.905 12.2 4.642C11.909 4.926 11.666 5.251 11.471 5.618C11.157 6.206 11 6.833 11 7.5Z" />
</svg>
);
}Vue: see /icons/baseball.md
Svelte: see /icons/baseball.md
HTML img: see /icons/baseball.md
CSS: see /icons/baseball.md
Data URL: see /icons/baseball.md
Sprite: see /icons/baseball.md
SwiftUI: see /icons/baseball.md
Compose: see /icons/baseball.md
Android XML: see /icons/baseball.md
Flutter: see /icons/baseball.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 { BaseballIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- baseball, softball
- Tags
- baseball, softball, ball, sports, game, mlb, pitch, stitches
- Category
- Games & sports
- Component name
BaseballIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 3
More games & sports icons
alien american-football american-football-off badminton barbell barbell-off basketball basketball-court basketball-hoop beach-ball bench-press billiards bomb boules bow-arrow bowling · all games & sports icons
For agents
Metadata: /icons/baseball.json · Markdown: /icons/baseball.md · SVG: https://gentleface.com/svg/{style}/16/baseball.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/baseball.png