ICONYZ
English
Pants icon from Phosphor

Pants icon

ph:pants

The Pants icon (ph:pants) 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
clothing, clothes, jeans, pant
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="m223.88 214l-22-176A16 16 0 0 0 186 24H70a16 16 0 0 0-15.88 14l-22 176A16 16 0 0 0 48 232h40.69a16 16 0 0 0 15.51-12.06l23.8-92l23.79 91.94A16 16 0 0 0 167.31 232H208a16 16 0 0 0 15.88-18M192.9 95.2A32.13 32.13 0 0 1 169 72h21ZM186 40l2 16H68l2-16ZM66 72h21a32.13 32.13 0 0 1-23.9 23.2Zm22.69 144H48l13-104.27A48.08 48.08 0 0 0 103.32 72H120v23Zm78.6-.06L136 95V72h16.68A48.08 48.08 0 0 0 195 111.73L208 216Z"/></svg>

How to use the Pants icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

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

Related icons in Phosphor

Pants icon in other icon sets

Pants icon FAQ

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

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

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

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

Browse all Phosphor icons →