Basketball Hoop icon
uil:basketball-hoop
The Basketball Hoop icon (uil:basketball-hoop) is a free SVG icon from the Unicons set by Iconscout. It is drawn on a 24 × 24 grid. Unicons are released under the Apache 2.0 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
- Unicons
- Author
- Iconscout
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Sports
- Tags
- basketballhoop
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M18 10H6a1 1 0 0 0 0 2h1v9a1 1 0 0 0 2 0v-1h2v1a1 1 0 0 0 2 0v-1h2v1a1 1 0 0 0 2 0v-9h1a1 1 0 0 0 0-2m-7 8H9v-2h2Zm0-4H9v-2h2Zm4 4h-2v-2h2Zm0-4h-2v-2h2Zm5-12H4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3a1 1 0 0 0 0-2a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1a1 1 0 0 0 0 2a3 3 0 0 0 3-3V5a3 3 0 0 0-3-3m-6 6a1 1 0 0 0 0-2h-4a1 1 0 0 0 0 2Z"/></svg>How to use the Basketball Hoop icon
React
import { Icon } from "@iconify/react";
<Icon icon="uil:basketball-hoop" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="uil:basketball-hoop" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="uil:basketball-hoop" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[uil--basketball-hoop]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/uil -->
<div class="i-uil:basketball-hoop"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="uil:basketball-hoop"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/uil/basketball-hoop.svg" alt="Basketball Hoop icon" width="24" height="24">Related icons in Unicons
Basketball Hoop icon in other icon sets
Basketball Hoop icon FAQ
Is the Basketball Hoop icon free for commercial use?
Yes. Unicons are released under the Apache 2.0 license, which allows use in personal and commercial projects.
How do I use the Basketball Hoop icon in React?
Install @iconify/react and render <Icon icon="uil:basketball-hoop" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Basketball Hoop icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/uil/basketball-hoop.svg" alt="Basketball Hoop icon">, or paste the SVG code inline to style it with CSS.