# tennis-ball icon

Tennis ball. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/tennis-ball

- Category: Games & sports
- Use it for: tennis
- Tags: tennis, tennis-ball, ball, sports, game, racket, court, wimbledon, padel
- Component name: TennisBallIcon
- Added: 2026-10-15

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/tennis-ball.svg · PNG https://gentleface.com/png/line-round/16/tennis-ball.png · https://gentleface.com/png/line-round/32/tennis-ball.png · https://gentleface.com/png/line-round/48/tennis-ball.png
- line-soft: https://gentleface.com/svg/line-soft/16/tennis-ball.svg · PNG https://gentleface.com/png/line-soft/16/tennis-ball.png · https://gentleface.com/png/line-soft/32/tennis-ball.png · https://gentleface.com/png/line-soft/48/tennis-ball.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/tennis-ball.svg · PNG https://gentleface.com/png/line-sharp/16/tennis-ball.png · https://gentleface.com/png/line-sharp/32/tennis-ball.png · https://gentleface.com/png/line-sharp/48/tennis-ball.png
- solid-round: https://gentleface.com/svg/solid-round/16/tennis-ball.svg · PNG https://gentleface.com/png/solid-round/16/tennis-ball.png · https://gentleface.com/png/solid-round/32/tennis-ball.png · https://gentleface.com/png/solid-round/48/tennis-ball.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/tennis-ball.svg · PNG https://gentleface.com/png/solid-soft/16/tennis-ball.png · https://gentleface.com/png/solid-soft/32/tennis-ball.png · https://gentleface.com/png/solid-soft/48/tennis-ball.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/tennis-ball.svg · PNG https://gentleface.com/png/solid-sharp/16/tennis-ball.png · https://gentleface.com/png/solid-sharp/32/tennis-ball.png · https://gentleface.com/png/solid-sharp/48/tennis-ball.png

The SVG of every style: https://gentleface.com/icons/tennis-ball.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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="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>
```

### React

```tsx
// 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

```vue
<!-- Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball -->
<template>
  <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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball -->
<script>
  let props = $props();
</script>

<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>
```

### HTML img

```html
<!-- Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/tennis-ball.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball. Takes the text color. */
.icon-tennis-ball {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#tennis-ball"/></svg>
```

### SwiftUI

```swift
// Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball
import SwiftUI

struct TennisBallIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.904, y: 2.904))
        p.addCurve(to: CGPoint(x: 5.107, y: 1.456), control1: CGPoint(x: 3.538, y: 2.269), control2: CGPoint(x: 4.273, y: 1.787))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 5.876, y: 1.152), control2: CGPoint(x: 6.673, y: 1))
        p.addCurve(to: CGPoint(x: 9.893, y: 1.456), control1: CGPoint(x: 8.327, y: 1), control2: CGPoint(x: 9.124, y: 1.152))
        p.addCurve(to: CGPoint(x: 12.096, y: 2.904), control1: CGPoint(x: 10.727, y: 1.787), control2: CGPoint(x: 11.462, y: 2.269))
        p.addCurve(to: CGPoint(x: 13.544, y: 5.107), control1: CGPoint(x: 12.731, y: 3.538), control2: CGPoint(x: 13.213, y: 4.273))
        p.addCurve(to: CGPoint(x: 14, y: 7.5), control1: CGPoint(x: 13.848, y: 5.876), control2: CGPoint(x: 14, y: 6.673))
        p.addCurve(to: CGPoint(x: 13.544, y: 9.893), control1: CGPoint(x: 14, y: 8.327), control2: CGPoint(x: 13.848, y: 9.124))
        p.addCurve(to: CGPoint(x: 12.096, y: 12.096), control1: CGPoint(x: 13.213, y: 10.727), control2: CGPoint(x: 12.731, y: 11.462))
        p.addCurve(to: CGPoint(x: 9.893, y: 13.544), control1: CGPoint(x: 11.462, y: 12.731), control2: CGPoint(x: 10.727, y: 13.213))
        p.addCurve(to: CGPoint(x: 7.5, y: 14), control1: CGPoint(x: 9.124, y: 13.848), control2: CGPoint(x: 8.327, y: 14))
        p.addCurve(to: CGPoint(x: 5.107, y: 13.544), control1: CGPoint(x: 6.673, y: 14), control2: CGPoint(x: 5.876, y: 13.848))
        p.addCurve(to: CGPoint(x: 2.904, y: 12.096), control1: CGPoint(x: 4.273, y: 13.213), control2: CGPoint(x: 3.538, y: 12.731))
        p.addCurve(to: CGPoint(x: 1.456, y: 9.893), control1: CGPoint(x: 2.269, y: 11.462), control2: CGPoint(x: 1.787, y: 10.727))
        p.addCurve(to: CGPoint(x: 1, y: 7.5), control1: CGPoint(x: 1.152, y: 9.124), control2: CGPoint(x: 1, y: 8.327))
        p.addCurve(to: CGPoint(x: 1.456, y: 5.107), control1: CGPoint(x: 1, y: 6.673), control2: CGPoint(x: 1.152, y: 5.876))
        p.addCurve(to: CGPoint(x: 2.904, y: 2.904), control1: CGPoint(x: 1.787, y: 4.273), control2: CGPoint(x: 2.269, y: 3.538))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.021, y: 7.98))
        p.addLine(to: CGPoint(x: 2.021, y: 7.981))
        p.addCurve(to: CGPoint(x: 2.386, y: 9.525), control1: CGPoint(x: 2.066, y: 8.51), control2: CGPoint(x: 2.188, y: 9.024))
        p.addCurve(to: CGPoint(x: 3.611, y: 11.389), control1: CGPoint(x: 2.666, y: 10.231), control2: CGPoint(x: 3.074, y: 10.852))
        p.addCurve(to: CGPoint(x: 5.475, y: 12.614), control1: CGPoint(x: 4.148, y: 11.926), control2: CGPoint(x: 4.769, y: 12.334))
        p.addCurve(to: CGPoint(x: 7.02, y: 12.979), control1: CGPoint(x: 5.976, y: 12.812), control2: CGPoint(x: 6.491, y: 12.934))
        p.addLine(to: CGPoint(x: 7.021, y: 12.978))
        p.addCurve(to: CGPoint(x: 7.456, y: 11.107), control1: CGPoint(x: 7.071, y: 12.337), control2: CGPoint(x: 7.216, y: 11.713))
        p.addCurve(to: CGPoint(x: 8.904, y: 8.904), control1: CGPoint(x: 7.787, y: 10.273), control2: CGPoint(x: 8.269, y: 9.538))
        p.addCurve(to: CGPoint(x: 11.107, y: 7.456), control1: CGPoint(x: 9.538, y: 8.269), control2: CGPoint(x: 10.273, y: 7.787))
        p.addCurve(to: CGPoint(x: 12.979, y: 7.02), control1: CGPoint(x: 11.713, y: 7.216), control2: CGPoint(x: 12.337, y: 7.071))
        p.addLine(to: CGPoint(x: 12.979, y: 7.019))
        p.addCurve(to: CGPoint(x: 12.614, y: 5.475), control1: CGPoint(x: 12.934, y: 6.49), control2: CGPoint(x: 12.812, y: 5.976))
        p.addCurve(to: CGPoint(x: 11.389, y: 3.611), control1: CGPoint(x: 12.334, y: 4.769), control2: CGPoint(x: 11.926, y: 4.148))
        p.addCurve(to: CGPoint(x: 9.525, y: 2.386), control1: CGPoint(x: 10.852, y: 3.074), control2: CGPoint(x: 10.231, y: 2.666))
        p.addCurve(to: CGPoint(x: 7.98, y: 2.021), control1: CGPoint(x: 9.024, y: 2.188), control2: CGPoint(x: 8.509, y: 2.066))
        p.addLine(to: CGPoint(x: 7.979, y: 2.022))
        p.addCurve(to: CGPoint(x: 7.544, y: 3.893), control1: CGPoint(x: 7.929, y: 2.663), control2: CGPoint(x: 7.784, y: 3.287))
        p.addCurve(to: CGPoint(x: 6.096, y: 6.096), control1: CGPoint(x: 7.213, y: 4.727), control2: CGPoint(x: 6.731, y: 5.462))
        p.addCurve(to: CGPoint(x: 3.893, y: 7.544), control1: CGPoint(x: 5.462, y: 6.731), control2: CGPoint(x: 4.727, y: 7.213))
        p.addCurve(to: CGPoint(x: 2.021, y: 7.98), control1: CGPoint(x: 3.287, y: 7.784), control2: CGPoint(x: 2.663, y: 7.929))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.611, y: 3.611))
        p.addCurve(to: CGPoint(x: 2.386, y: 5.475), control1: CGPoint(x: 3.074, y: 4.148), control2: CGPoint(x: 2.666, y: 4.769))
        p.addCurve(to: CGPoint(x: 2.025, y: 6.975), control1: CGPoint(x: 2.194, y: 5.962), control2: CGPoint(x: 2.073, y: 6.462))
        p.addCurve(to: CGPoint(x: 3.525, y: 6.614), control1: CGPoint(x: 2.538, y: 6.927), control2: CGPoint(x: 3.038, y: 6.806))
        p.addCurve(to: CGPoint(x: 5.389, y: 5.389), control1: CGPoint(x: 4.231, y: 6.334), control2: CGPoint(x: 4.852, y: 5.926))
        p.addCurve(to: CGPoint(x: 6.614, y: 3.525), control1: CGPoint(x: 5.926, y: 4.852), control2: CGPoint(x: 6.334, y: 4.231))
        p.addCurve(to: CGPoint(x: 6.975, y: 2.025), control1: CGPoint(x: 6.806, y: 3.038), control2: CGPoint(x: 6.927, y: 2.538))
        p.addCurve(to: CGPoint(x: 5.475, y: 2.386), control1: CGPoint(x: 6.462, y: 2.073), control2: CGPoint(x: 5.962, y: 2.194))
        p.addCurve(to: CGPoint(x: 3.611, y: 3.611), control1: CGPoint(x: 4.769, y: 2.666), control2: CGPoint(x: 4.148, y: 3.074))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11.389, y: 11.389))
        p.addCurve(to: CGPoint(x: 12.614, y: 9.525), control1: CGPoint(x: 11.926, y: 10.852), control2: CGPoint(x: 12.334, y: 10.231))
        p.addCurve(to: CGPoint(x: 12.975, y: 8.025), control1: CGPoint(x: 12.806, y: 9.038), control2: CGPoint(x: 12.927, y: 8.538))
        p.addCurve(to: CGPoint(x: 11.475, y: 8.386), control1: CGPoint(x: 12.462, y: 8.073), control2: CGPoint(x: 11.962, y: 8.194))
        p.addCurve(to: CGPoint(x: 9.611, y: 9.611), control1: CGPoint(x: 10.769, y: 8.666), control2: CGPoint(x: 10.148, y: 9.074))
        p.addCurve(to: CGPoint(x: 8.386, y: 11.475), control1: CGPoint(x: 9.074, y: 10.148), control2: CGPoint(x: 8.666, y: 10.769))
        p.addCurve(to: CGPoint(x: 8.025, y: 12.975), control1: CGPoint(x: 8.194, y: 11.962), control2: CGPoint(x: 8.073, y: 12.462))
        p.addCurve(to: CGPoint(x: 9.525, y: 12.614), control1: CGPoint(x: 8.538, y: 12.927), control2: CGPoint(x: 9.038, y: 12.806))
        p.addCurve(to: CGPoint(x: 11.389, y: 11.389), control1: CGPoint(x: 10.231, y: 12.334), control2: CGPoint(x: 10.852, y: 11.926))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// TennisBallIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val TennisBallIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "tennis-ball", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(TennisBallIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_tennis_ball.xml · Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="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"/>
</vector>
```

### Flutter

```dart
// Gentleface "tennis-ball" (line-round), MIT. https://gentleface.com/icons/tennis-ball
import 'package:flutter/widgets.dart';

class TennisBallIcon extends StatelessWidget {
  const TennisBallIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _TennisBallIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _TennisBallIconPainter extends CustomPainter {
  _TennisBallIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.904, 2.904)
      ..cubicTo(3.538, 2.269, 4.273, 1.787, 5.107, 1.456)
      ..cubicTo(5.876, 1.152, 6.673, 1, 7.5, 1)
      ..cubicTo(8.327, 1, 9.124, 1.152, 9.893, 1.456)
      ..cubicTo(10.727, 1.787, 11.462, 2.269, 12.096, 2.904)
      ..cubicTo(12.731, 3.538, 13.213, 4.273, 13.544, 5.107)
      ..cubicTo(13.848, 5.876, 14, 6.673, 14, 7.5)
      ..cubicTo(14, 8.327, 13.848, 9.124, 13.544, 9.893)
      ..cubicTo(13.213, 10.727, 12.731, 11.462, 12.096, 12.096)
      ..cubicTo(11.462, 12.731, 10.727, 13.213, 9.893, 13.544)
      ..cubicTo(9.124, 13.848, 8.327, 14, 7.5, 14)
      ..cubicTo(6.673, 14, 5.876, 13.848, 5.107, 13.544)
      ..cubicTo(4.273, 13.213, 3.538, 12.731, 2.904, 12.096)
      ..cubicTo(2.269, 11.462, 1.787, 10.727, 1.456, 9.893)
      ..cubicTo(1.152, 9.124, 1, 8.327, 1, 7.5)
      ..cubicTo(1, 6.673, 1.152, 5.876, 1.456, 5.107)
      ..cubicTo(1.787, 4.273, 2.269, 3.538, 2.904, 2.904)
      ..close()
      ..moveTo(2.021, 7.98)
      ..lineTo(2.021, 7.981)
      ..cubicTo(2.066, 8.51, 2.188, 9.024, 2.386, 9.525)
      ..cubicTo(2.666, 10.231, 3.074, 10.852, 3.611, 11.389)
      ..cubicTo(4.148, 11.926, 4.769, 12.334, 5.475, 12.614)
      ..cubicTo(5.976, 12.812, 6.491, 12.934, 7.02, 12.979)
      ..lineTo(7.021, 12.978)
      ..cubicTo(7.071, 12.337, 7.216, 11.713, 7.456, 11.107)
      ..cubicTo(7.787, 10.273, 8.269, 9.538, 8.904, 8.904)
      ..cubicTo(9.538, 8.269, 10.273, 7.787, 11.107, 7.456)
      ..cubicTo(11.713, 7.216, 12.337, 7.071, 12.979, 7.02)
      ..lineTo(12.979, 7.019)
      ..cubicTo(12.934, 6.49, 12.812, 5.976, 12.614, 5.475)
      ..cubicTo(12.334, 4.769, 11.926, 4.148, 11.389, 3.611)
      ..cubicTo(10.852, 3.074, 10.231, 2.666, 9.525, 2.386)
      ..cubicTo(9.024, 2.188, 8.509, 2.066, 7.98, 2.021)
      ..lineTo(7.979, 2.022)
      ..cubicTo(7.929, 2.663, 7.784, 3.287, 7.544, 3.893)
      ..cubicTo(7.213, 4.727, 6.731, 5.462, 6.096, 6.096)
      ..cubicTo(5.462, 6.731, 4.727, 7.213, 3.893, 7.544)
      ..cubicTo(3.287, 7.784, 2.663, 7.929, 2.021, 7.98)
      ..close()
      ..moveTo(3.611, 3.611)
      ..cubicTo(3.074, 4.148, 2.666, 4.769, 2.386, 5.475)
      ..cubicTo(2.194, 5.962, 2.073, 6.462, 2.025, 6.975)
      ..cubicTo(2.538, 6.927, 3.038, 6.806, 3.525, 6.614)
      ..cubicTo(4.231, 6.334, 4.852, 5.926, 5.389, 5.389)
      ..cubicTo(5.926, 4.852, 6.334, 4.231, 6.614, 3.525)
      ..cubicTo(6.806, 3.038, 6.927, 2.538, 6.975, 2.025)
      ..cubicTo(6.462, 2.073, 5.962, 2.194, 5.475, 2.386)
      ..cubicTo(4.769, 2.666, 4.148, 3.074, 3.611, 3.611)
      ..close()
      ..moveTo(11.389, 11.389)
      ..cubicTo(11.926, 10.852, 12.334, 10.231, 12.614, 9.525)
      ..cubicTo(12.806, 9.038, 12.927, 8.538, 12.975, 8.025)
      ..cubicTo(12.462, 8.073, 11.962, 8.194, 11.475, 8.386)
      ..cubicTo(10.769, 8.666, 10.148, 9.074, 9.611, 9.611)
      ..cubicTo(9.074, 10.148, 8.666, 10.769, 8.386, 11.475)
      ..cubicTo(8.194, 11.962, 8.073, 12.462, 8.025, 12.975)
      ..cubicTo(8.538, 12.927, 9.038, 12.806, 9.525, 12.614)
      ..cubicTo(10.231, 12.334, 10.852, 11.926, 11.389, 11.389)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_TennisBallIconPainter old) => old.color != color;
}
```
