Gentleface › Games & sports › tennis-ball
tennis-ball icon
tennis-ballTennis ball: tennis. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated tennis-ball-rally · line-round
A racket face swings in from the left, meets the ball and pushes its near side flat. The ball springs off the strings and leaves through the right edge with topspin, gets returned spinning the other way, and pulls up in its place.
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.2 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.904ZM2.021 7.98L2.021 7.981C2.066 8.51 2.188 9.024 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C5.976 12.812 6.491 12.934 7.02 12.979L7.021 12.978C7.071 12.337 7.216 11.713 7.456 11.107C7.787 10.273 8.269 9.538 8.904 8.904C9.538 8.269 10.273 7.787 11.107 7.456C11.713 7.216 12.337 7.071 12.979 7.02L12.979 7.019C12.934 6.49 12.812 5.976 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C9.024 2.188 8.509 2.066 7.98 2.021L7.979 2.022C7.929 2.663 7.784 3.287 7.544 3.893C7.213 4.727 6.731 5.462 6.096 6.096C5.462 6.731 4.727 7.213 3.893 7.544C3.287 7.784 2.663 7.929 2.021 7.98ZM3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.194 5.962 2.073 6.462 2.025 6.975C2.538 6.927 3.038 6.806 3.525 6.614C4.231 6.334 4.852 5.926 5.389 5.389C5.926 4.852 6.334 4.231 6.614 3.525C6.806 3.038 6.927 2.538 6.975 2.025C6.462 2.073 5.962 2.194 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611ZM11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.806 9.038 12.927 8.538 12.975 8.025C12.462 8.073 11.962 8.194 11.475 8.386C10.769 8.666 10.148 9.074 9.611 9.611C9.074 10.148 8.666 10.769 8.386 11.475C8.194 11.962 8.073 12.462 8.025 12.975C8.538 12.927 9.038 12.806 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389Z"/></svg>
// Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball
import type { SVGProps } from 'react';
export function TennisBallIcon(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.904ZM2.021 7.98L2.021 7.981C2.066 8.51 2.188 9.024 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C5.976 12.812 6.491 12.934 7.02 12.979L7.021 12.978C7.071 12.337 7.216 11.713 7.456 11.107C7.787 10.273 8.269 9.538 8.904 8.904C9.538 8.269 10.273 7.787 11.107 7.456C11.713 7.216 12.337 7.071 12.979 7.02L12.979 7.019C12.934 6.49 12.812 5.976 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C9.024 2.188 8.509 2.066 7.98 2.021L7.979 2.022C7.929 2.663 7.784 3.287 7.544 3.893C7.213 4.727 6.731 5.462 6.096 6.096C5.462 6.731 4.727 7.213 3.893 7.544C3.287 7.784 2.663 7.929 2.021 7.98ZM3.611 3.611C3.074 4.148 2.666 4.769 2.386 5.475C2.194 5.962 2.073 6.462 2.025 6.975C2.538 6.927 3.038 6.806 3.525 6.614C4.231 6.334 4.852 5.926 5.389 5.389C5.926 4.852 6.334 4.231 6.614 3.525C6.806 3.038 6.927 2.538 6.975 2.025C6.462 2.073 5.962 2.194 5.475 2.386C4.769 2.666 4.148 3.074 3.611 3.611ZM11.389 11.389C11.926 10.852 12.334 10.231 12.614 9.525C12.806 9.038 12.927 8.538 12.975 8.025C12.462 8.073 11.962 8.194 11.475 8.386C10.769 8.666 10.148 9.074 9.611 9.611C9.074 10.148 8.666 10.769 8.386 11.475C8.194 11.962 8.073 12.462 8.025 12.975C8.538 12.927 9.038 12.806 9.525 12.614C10.231 12.334 10.852 11.926 11.389 11.389Z" />
</svg>
);
}Vue: see /icons/tennis-ball.md
Svelte: see /icons/tennis-ball.md
HTML img: see /icons/tennis-ball.md
CSS: see /icons/tennis-ball.md
Data URL: see /icons/tennis-ball.md
Sprite: see /icons/tennis-ball.md
SwiftUI: see /icons/tennis-ball.md
Compose: see /icons/tennis-ball.md
Android XML: see /icons/tennis-ball.md
Flutter: see /icons/tennis-ball.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 { TennisBallIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- tennis
- Tags
- tennis, tennis-ball, ball, sports, game, racket, court, wimbledon, padel
- Category
- Games & sports
- Component name
TennisBallIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn, changed in 0.2.0
- Since
- version 0.1.0
More games & sports icons
alien american-football american-football-off badminton barbell barbell-off baseball baseball-bat baseball-helmet basketball basketball-court basketball-hoop beach-ball bench-press billiards bomb · all games & sports icons
For agents
Metadata: /icons/tennis-ball.json · Markdown: /icons/tennis-ball.md · SVG: https://gentleface.com/svg/{style}/16/tennis-ball.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/tennis-ball.png