ICONYZ
English
Bathtub icon from OpenMoji

Bathtub icon

openmoji:bathtub

The Bathtub icon (openmoji:bathtub) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
OpenMoji
Author
OpenMoji
License
CC-BY-SA-4.0
Size
72 × 72
Category
Objects
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#9b9b9a" d="M22.76 54.46h-5.442l-2.557 7.328c-.336.964.38 1.97 1.4 1.97h3.354zm24.364 0h5.441l2.557 7.328c.336.964-.38 1.97-1.4 1.97h-3.354z"/><path fill="#9b9b9a" d="m16.534 59.598l-1.143 3.53h3.524l.667-2.054m33.857-1.476l1.143 3.53h-3.524l-.667-2.054"/><path fill="#d0cfce" d="M11.007 34.218v9.428c0 6.915 5.4 12.572 12 12.572h26c6.6 0 12-5.657 12-12.572v-9.428s-23 2.095-50 0"/><path fill="#9b9b9a" d="m43.804 56.218l16.76-21.71l-.056 12.766s-1.968 5.624-6.804 8.098c0 0-5.345 1.408-9.9.846"/><path fill="#d0cfce" d="M46.166 14.305c1.61-2.102 4.297-2.748 6.002-1.443s1.781 4.068.172 6.17z"/><g fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2"><path d="M11.007 34.218v9.428c0 6.915 5.4 12.572 12 12.572h26c6.6 0 12-5.657 12-12.572v-9.428s-23 2.095-50 0m47.661 0V14.362s0-6.946-6.5-1.5"/><path d="M46.166 14.305c1.61-2.102 4.297-2.748 6.002-1.443s1.781 4.068.172 6.17zm7.273 45.293l1.143 3.53h-3.524l-.667-2.054m-33.857-1.476l-1.143 3.53h3.524l.667-2.054m-8.575-26.856v9.428c0 6.915 5.4 12.572 12 12.572h26c6.6 0 12-5.657 12-12.572v-9.428s-23 2.095-50 0"/></g></svg>

How to use the Bathtub icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Bathtub icon in other icon sets

Bathtub icon FAQ

Is the Bathtub icon free for commercial use?

Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.

How do I use the Bathtub icon in React?

Install @iconify/react and render <Icon icon="openmoji: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/openmoji/bathtub.svg" alt="Bathtub icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →