Swimming Pool icon
boxicons:swimming-pool
The Swimming Pool icon (boxicons:swimming-pool) 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="M18 15c-1.24 0-1.91.34-2.45.61c-.46.23-.79.39-1.56.39s-1.09-.17-1.55-.39c-.54-.27-1.21-.61-2.45-.61s-1.91.34-2.45.61c-.46.23-.79.39-1.55.39s-1.09-.17-1.55-.39C3.9 15.34 3.23 15 1.99 15v2c.76 0 1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.55-.39s1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.56-.39s1.1.17 1.56.39c.54.27 1.21.61 2.45.61v-2c-.77 0-1.1-.17-1.56-.39c-.54-.27-1.21-.61-2.45-.61m0 4c-1.24 0-1.91.34-2.45.61c-.46.23-.79.39-1.56.39s-1.09-.17-1.55-.39c-.54-.27-1.21-.61-2.45-.61s-1.91.34-2.45.61c-.46.23-.79.39-1.55.39s-1.09-.17-1.55-.39C3.9 19.34 3.23 19 1.99 19v2c.76 0 1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.55-.39s1.09.17 1.55.39c.54.27 1.21.61 2.45.61s1.91-.34 2.45-.61c.46-.23.79-.39 1.56-.39s1.1.17 1.56.39c.54.27 1.21.61 2.45.61v-2c-.77 0-1.1-.17-1.56-.39c-.54-.27-1.21-.61-2.45-.61M17 5c0-1.65-1.35-3-3-3s-3 1.35-3 3v1h2V5c0-.55.45-1 1-1s1 .45 1 1v2h-5V5c0-1.65-1.35-3-3-3S4 3.35 4 5v1h2V5c0-.55.45-1 1-1s1 .45 1 1v2H2v2h6v5h2V9h5v5h2V9h5V7h-5z"/></svg>How to use the Swimming Pool icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:swimming-pool" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:swimming-pool" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:swimming-pool" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--swimming-pool]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:swimming-pool"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:swimming-pool"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/swimming-pool.svg" alt="Swimming Pool icon" width="24" height="24">Related icons in Boxicons
Swimming Pool icon in other icon sets
Swimming Pool icon FAQ
Is the Swimming Pool 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 Swimming Pool icon in React?
Install @iconify/react and render <Icon icon="boxicons:swimming-pool" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Swimming Pool icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/swimming-pool.svg" alt="Swimming Pool icon">, or paste the SVG code inline to style it with CSS.