ICONYZ
English
Toilet Roll icon from Boxicons

Toilet Roll icon

boxicons:toilet-roll

The Toilet Roll icon (boxicons:toilet-roll) 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.

Icon set
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Tags
toiletroll
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M17 2H7C4.24 2 2 4.92 2 8.5S4.24 15 7 15c1.13 0 2.16-.49 3-1.31V21c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V8.5C22 4.92 19.76 2 17 2M7 13c-1.63 0-3-2.06-3-4.5S5.37 4 7 4s3 2.06 3 4.5S8.63 13 7 13m13 7h-8V8.5c0-1.75-.54-3.33-1.4-4.5H17c1.63 0 3 2.06 3 4.5z"/></svg>

How to use the Toilet Roll icon

React

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

<Icon icon="boxicons:toilet-roll" width="24" />

Vue

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

<template>
  <Icon icon="boxicons:toilet-roll" width="24" />
</template>

Svelte

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

<Icon icon="boxicons:toilet-roll" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="boxicons:toilet-roll"></iconify-icon>

HTML image

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

Related icons in Boxicons

Toilet Roll icon in other icon sets

Toilet Roll icon FAQ

Is the Toilet Roll 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 Toilet Roll icon in React?

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

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

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

Browse all Boxicons →