ICONYZ
English
Bathtub icon from Phosphor

Bathtub icon

ph:bathtub

The Bathtub icon (ph:bathtub) is a free SVG icon from the Phosphor set by Phosphor Icons. It is drawn on a 256 × 256 grid. Phosphor 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
Phosphor
Author
Phosphor Icons
License
MIT
Size
256 × 256
Tags
bath, shower, bathroom, faucet
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256"><path fill="currentColor" d="M240 96h-32a8 8 0 0 0-8-8h-64a8 8 0 0 0-8 8H64V52a12 12 0 0 1 12-12a12.44 12.44 0 0 1 12.16 9.59a8 8 0 0 0 15.68-3.18A28.32 28.32 0 0 0 76 24a28 28 0 0 0-28 28v44H16a8 8 0 0 0-8 8v40a56.06 56.06 0 0 0 56 56v16a8 8 0 0 0 16 0v-16h96v16a8 8 0 0 0 16 0v-16a56.06 56.06 0 0 0 56-56v-40a8 8 0 0 0-8-8m-48 8v32h-48v-32Zm40 40a40 40 0 0 1-40 40H64a40 40 0 0 1-40-40v-32h104v32a8 8 0 0 0 8 8h64a8 8 0 0 0 8-8v-32h24Z"/></svg>

How to use the Bathtub icon

React

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

<Icon icon="ph:bathtub" width="24" />

Vue

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

<template>
  <Icon icon="ph:bathtub" width="24" />
</template>

Svelte

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

<Icon icon="ph:bathtub" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ph:bathtub"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/ph/bathtub.svg" alt="Bathtub icon" width="24" height="24">

Related icons in Phosphor

Bathtub icon in other icon sets

Bathtub icon FAQ

Is the Bathtub icon free for commercial use?

Yes. Phosphor icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Bathtub icon in React?

Install @iconify/react and render <Icon icon="ph:bathtub" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Bathtub icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/ph/bathtub.svg" alt="Bathtub icon">, or paste the SVG code inline to style it with CSS.

Browse all Phosphor icons →