Copy code import type { SVGProps } from "react";
export type IconProps = {
size?: number | string;
color?: string;
className?: string;
} & SVGProps<SVGSVGElement>;
export const TennisBall = ({
size = 24,
color = "currentColor",
className,
...props
}: IconProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width={size}
height={size}
fill={color}
className={className}
{...props}
>
<path d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10 10-4.49 10-10S17.51 2 12 2M9.98 4.27c0 .08.02.15.02.23 0 .37-.04.75-.11 1.11a5.3 5.3 0 0 1-.83 1.96c-.2.29-.42.57-.67.82s-.52.48-.81.67a5.341 5.341 0 0 1-1.96.83c-.44.09-.89.11-1.34.09a8.01 8.01 0 0 1 5.71-5.71Zm4.05 15.46c0-.08-.02-.15-.02-.23 0-.37.04-.75.11-1.11a5.3 5.3 0 0 1 .83-1.96c.2-.29.42-.57.67-.82s.52-.48.81-.67a5.341 5.341 0 0 1 1.96-.83c.44-.09.89-.11 1.34-.09a8.01 8.01 0 0 1-5.71 5.71Zm5.98-7.71c-.67-.04-1.35 0-2.01.13-.48.1-.96.25-1.41.44-.44.19-.87.42-1.27.69s-.77.58-1.11.92-.65.71-.92 1.11-.5.83-.69 1.27c-.19.45-.34.93-.44 1.41-.1.49-.15 1-.15 1.51 0 .17.01.33.03.5h-.03c-4.41 0-8-3.59-8-8v-.03c.17.01.33.03.5.03.51 0 1.02-.05 1.51-.15.48-.1.96-.25 1.41-.44.44-.19.87-.42 1.27-.69s.77-.58 1.11-.92.65-.71.92-1.11.5-.83.69-1.27c.19-.45.34-.93.44-1.41.1-.49.15-1 .15-1.51 0-.17-.01-.33-.03-.5h.03c4.41 0 8 3.59 8 8v.03Z" />
</svg>
);Default · 24px · currentColor
UI examples Size, inline, toolbar, and dark UI — works for any icon style.
Tennis Ball Icon — Free SVG Component The Tennis Ball icon is a free, open-source SVG icon component built with TypeScript for React, Next.js, Vue, Remix, Svelte, and Astro projects. No npm install or package dependency required — just copy the component code and paste it into your project.
How to use Tennis Ball icon in React Import the Tennis Ball component from your icons folder. Use it as a standard React component with props: size (number), color (string), className (string), and all standard SVG attributes via spread props.
Example: <Tennis Ball size={24} color=“currentColor“ className=“shrink-0“ />
Features Zero dependencies — no package install needed TypeScript ready with full type safety Fully customizable size, color, and className Works with Tailwind CSS, styled-components, CSS modules Accessible — supports aria attributes Tree-shakeable — only import what you use MIT licensed — free for commercial use Compatible frameworks React, Next.js (App Router & Pages Router), Vue, Remix, Svelte, Astro, Nuxt, Gatsby, Vite, Angular, Qwik.
Category: sports Browse more sports icons in the Next Icons library. All icons are hand-crafted SVGs optimized for web performance.