Copy code import type { SVGProps } from "react";
export type IconProps = {
size?: number | string;
color?: string;
className?: string;
} & SVGProps<SVGSVGElement>;
export const BaseBall = ({
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 2m1.58 17.84c-.04-.28-.08-.56-.08-.84 0-.34.03-.67.09-1l-1.97-.36c-.08.45-.12.9-.12 1.36 0 .33.03.65.07.98a8 8 0 0 1-7.55-7.55c.32.04.65.07.98.07.46 0 .92-.04 1.36-.12L6 10.41c-.6.11-1.23.1-1.84 0a8.03 8.03 0 0 1 6.26-6.26c.04.28.08.56.08.84 0 .34-.03.67-.09 1l1.97.36c.08-.45.12-.9.12-1.36 0-.33-.03-.65-.07-.98a8 8 0 0 1 7.55 7.55c-.78-.1-1.57-.09-2.34.05l.36 1.97c.6-.11 1.23-.1 1.84 0a8.03 8.03 0 0 1-6.26 6.26" />
<path d="M14.81 12.78c-.4.27-.77.58-1.11.92s-.65.71-.92 1.11c-.11.17-.22.34-.32.52l1.74.98c.07-.13.15-.26.23-.38.2-.29.42-.57.67-.82s.52-.48.81-.67c.12-.08.25-.16.38-.24l-.98-1.74c-.18.1-.35.21-.52.32ZM9.56 8.07c-.2.29-.42.57-.67.82s-.52.48-.81.67c-.12.08-.25.16-.38.24l.98 1.74c.18-.1.35-.21.52-.32.4-.27.77-.58 1.11-.92s.65-.71.92-1.11c.11-.17.22-.34.32-.52l-1.74-.98c-.07.13-.15.26-.23.38Z" />
</svg>
);Default · 24px · currentColor
UI examples Size, inline, toolbar, and dark UI — works for any icon style.
Base Ball Icon — Free SVG Component The Base 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 Base Ball icon in React Import the Base 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: <Base 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.