Basketball icon
boxicons:basketball
The Basketball icon (boxicons:basketball) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12 2C6.49 2 2 6.49 2 12s4.49 10 10 10s10-4.49 10-10S17.51 2 12 2m4.9 3.69l-4.9 4.9l-1.54-1.54c.09-.12.18-.23.26-.35c.27-.4.5-.83.69-1.27c.19-.45.34-.93.44-1.41c.1-.49.15-1 .15-1.51c0-.17-.01-.33-.03-.5H12c1.85 0 3.54.63 4.9 1.69ZM7.62 9.03s-.03.02-.04.03a5.3 5.3 0 0 1-1.96.83c-.44.09-.89.11-1.34.09c.28-1.06.76-2.03 1.42-2.87l1.93 1.93Zm-.51-3.34c.84-.65 1.81-1.14 2.87-1.42c0 .08.02.15.02.23c0 .37-.04.75-.11 1.11a5.3 5.3 0 0 1-.83 1.96c0 .01-.02.03-.03.04L7.1 5.68Zm-3.1 6.29c.17.01.33.03.5.03c.51 0 1.02-.05 1.51-.15c.48-.1.96-.25 1.41-.44c.44-.19.87-.42 1.27-.69c.12-.08.23-.17.35-.26l1.54 1.54l-4.9 4.9A8 8 0 0 1 4 12.01v-.03Zm3.1 6.34l4.9-4.9l1.54 1.54c-.09.12-.18.23-.26.35c-.27.4-.5.83-.69 1.27c-.19.45-.34.93-.44 1.41c-.1.49-.15 1-.15 1.51c0 .17.01.33.03.5h-.03c-1.85 0-3.54-.63-4.9-1.69Zm9.28-3.34s.03-.02.04-.03a5.3 5.3 0 0 1 1.96-.83c.44-.09.89-.11 1.34-.09a7.9 7.9 0 0 1-1.42 2.87l-1.93-1.93Zm.51 3.34c-.84.65-1.81 1.14-2.87 1.42c0-.08-.02-.15-.02-.23c0-.37.04-.75.11-1.11a5.3 5.3 0 0 1 .83-1.96c0-.01.02-.03.03-.04l1.93 1.93Zm3.1-6.29c-.67-.04-1.35 0-2.01.13c-.48.1-.96.25-1.41.44c-.44.19-.87.42-1.27.69c-.12.08-.23.17-.35.26l-1.54-1.54l4.9-4.9a8 8 0 0 1 1.69 4.9v.03Z"/></svg>How to use the Basketball icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:basketball" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:basketball" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:basketball" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--basketball]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:basketball"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:basketball"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/basketball.svg" alt="Basketball icon" width="24" height="24">Related icons in Boxicons
Basketball icon in other icon sets
Basketball icon FAQ
Is the Basketball icon free for commercial use?
Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Basketball icon in React?
Install @iconify/react and render <Icon icon="boxicons:basketball" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Basketball icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/basketball.svg" alt="Basketball icon">, or paste the SVG code inline to style it with CSS.