ICONYZ
English
Toilet icon from Lucide

Toilet icon

lucide:toilet

The Toilet icon (lucide:toilet) is a free SVG icon from the Lucide set by Lucide Contributors. It is drawn on a 24 × 24 grid. Lucide icons are released under the ISC 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
Lucide
Author
Lucide Contributors
License
ISC
Size
24 × 24
Tags
potty, bathroom, washroom
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M7 12h13a1 1 0 0 1 1 1a5 5 0 0 1-5 5h-.598a.5.5 0 0 0-.424.765l1.544 2.47a.5.5 0 0 1-.424.765H5.402a.5.5 0 0 1-.424-.765L7 18"/><path d="M8 18a5 5 0 0 1-5-5V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8"/></g></svg>

How to use the Toilet icon

React

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

<Icon icon="lucide:toilet" width="24" />

Vue

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

<template>
  <Icon icon="lucide:toilet" width="24" />
</template>

Svelte

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

<Icon icon="lucide:toilet" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="lucide:toilet"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/lucide/toilet.svg" alt="Toilet icon" width="24" height="24">

Toilet icon in other icon sets

Toilet icon FAQ

Is the Toilet icon free for commercial use?

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

How do I use the Toilet icon in React?

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

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

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

Browse all Lucide icons →