ICONYZ
English
Basketball icon from BoxIcons v2 Solid

Basketball icon

bxs:basketball

The Basketball icon (bxs:basketball) is a free SVG icon from the BoxIcons v2 Solid set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 Solid icons 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.

Icon set
BoxIcons v2 Solid
Author
Boxicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18.328 4.258a9.95 9.95 0 0 0-5.949-2.235a9 9 0 0 1-1.835 7.107L12 10.586zM7.701 9.115L4.258 5.672a9.94 9.94 0 0 0-2.112 4.704a7 7 0 0 0 5.555-1.261m12.041-3.443L13.414 12l1.456 1.456a9 9 0 0 1 7.107-1.835a9.95 9.95 0 0 0-2.235-5.949m2.112 7.952a7 7 0 0 0-5.555 1.261l3.443 3.443a9.9 9.9 0 0 0 2.112-4.704M9.115 7.701a7 7 0 0 0 1.261-5.555a9.9 9.9 0 0 0-4.704 2.112zm4.509 14.153a9.94 9.94 0 0 0 4.704-2.111L14.885 16.3a7 7 0 0 0-1.261 5.554M12 13.414l-6.328 6.328a9.95 9.95 0 0 0 5.949 2.235a9 9 0 0 1 1.835-7.107zm-7.742 4.914L10.586 12L9.13 10.544a9 9 0 0 1-7.107 1.835a9.95 9.95 0 0 0 2.235 5.949"/></svg>

How to use the Basketball icon

React

import { Icon } from "@iconify/react";

<Icon icon="bxs:basketball" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="bxs:basketball" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="bxs:basketball" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[bxs--basketball]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/bxs -->
<div class="i-bxs:basketball"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="bxs:basketball"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/bxs/basketball.svg" alt="Basketball icon" width="24" height="24">

Basketball icon in other icon sets

Basketball icon FAQ

Is the Basketball icon free for commercial use?

Yes. BoxIcons v2 Solid icons 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="bxs: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/bxs/basketball.svg" alt="Basketball icon">, or paste the SVG code inline to style it with CSS.

Browse all BoxIcons v2 Solid icons →