# pants icon

Pants. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/pants

- Category: Shopping
- Use it for: pants, trousers, jeans
- Tags: pants, trousers, jeans, slacks, chinos, joggers, clothing, clothes, apparel, fashion, garment, bottoms
- Component name: PantsIcon
- Added: 2026-10-29
- Since: version 0.2.0
- npm: `import { PantsIcon } from '@gentleface/react';` (@gentleface/react 0.2.0)
- Changed: 2026-10-30 (added)

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/pants.svg · PNG https://gentleface.com/png/line-round/16/pants.png · https://gentleface.com/png/line-round/32/pants.png · https://gentleface.com/png/line-round/48/pants.png
- line-soft: https://gentleface.com/svg/line-soft/16/pants.svg · PNG https://gentleface.com/png/line-soft/16/pants.png · https://gentleface.com/png/line-soft/32/pants.png · https://gentleface.com/png/line-soft/48/pants.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/pants.svg · PNG https://gentleface.com/png/line-sharp/16/pants.png · https://gentleface.com/png/line-sharp/32/pants.png · https://gentleface.com/png/line-sharp/48/pants.png
- solid-round: https://gentleface.com/svg/solid-round/16/pants.svg · PNG https://gentleface.com/png/solid-round/16/pants.png · https://gentleface.com/png/solid-round/32/pants.png · https://gentleface.com/png/solid-round/48/pants.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/pants.svg · PNG https://gentleface.com/png/solid-soft/16/pants.png · https://gentleface.com/png/solid-soft/32/pants.png · https://gentleface.com/png/solid-soft/48/pants.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/pants.svg · PNG https://gentleface.com/png/solid-sharp/16/pants.png · https://gentleface.com/png/solid-sharp/32/pants.png · https://gentleface.com/png/solid-sharp/48/pants.png

The SVG of every style: https://gentleface.com/icons/pants.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z"/></svg>
```

### React

```tsx
// Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants
import type { SVGProps } from 'react';

export function PantsIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/pants.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants. Takes the text color. */
.icon-pants {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#pants"/></svg>
```

### SwiftUI

```swift
// Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants
import SwiftUI

struct PantsIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 11.707, y: 14.707))
        p.addCurve(to: CGPoint(x: 11, y: 15), control1: CGPoint(x: 11.512, y: 14.902), control2: CGPoint(x: 11.276, y: 15))
        p.addLine(to: CGPoint(x: 9.89, y: 15))
        p.addCurve(to: CGPoint(x: 9.275, y: 14.788), control1: CGPoint(x: 9.661, y: 15), control2: CGPoint(x: 9.456, y: 14.929))
        p.addCurve(to: CGPoint(x: 8.92, y: 14.243), control1: CGPoint(x: 9.094, y: 14.647), control2: CGPoint(x: 8.976, y: 14.465))
        p.addLine(to: CGPoint(x: 7.5, y: 8.562))
        p.addLine(to: CGPoint(x: 6.08, y: 14.243))
        p.addCurve(to: CGPoint(x: 5.725, y: 14.788), control1: CGPoint(x: 6.024, y: 14.465), control2: CGPoint(x: 5.906, y: 14.647))
        p.addCurve(to: CGPoint(x: 5.11, y: 15), control1: CGPoint(x: 5.544, y: 14.929), control2: CGPoint(x: 5.339, y: 15))
        p.addLine(to: CGPoint(x: 4, y: 15))
        p.addCurve(to: CGPoint(x: 3.293, y: 14.707), control1: CGPoint(x: 3.724, y: 15), control2: CGPoint(x: 3.488, y: 14.902))
        p.addCurve(to: CGPoint(x: 3, y: 14), control1: CGPoint(x: 3.098, y: 14.512), control2: CGPoint(x: 3, y: 14.276))
        p.addLine(to: CGPoint(x: 3, y: 2))
        p.addCurve(to: CGPoint(x: 3.293, y: 1.293), control1: CGPoint(x: 3, y: 1.724), control2: CGPoint(x: 3.098, y: 1.488))
        p.addCurve(to: CGPoint(x: 4, y: 1), control1: CGPoint(x: 3.488, y: 1.098), control2: CGPoint(x: 3.724, y: 1))
        p.addLine(to: CGPoint(x: 11, y: 1))
        p.addCurve(to: CGPoint(x: 11.707, y: 1.293), control1: CGPoint(x: 11.276, y: 1), control2: CGPoint(x: 11.512, y: 1.098))
        p.addCurve(to: CGPoint(x: 12, y: 2), control1: CGPoint(x: 11.902, y: 1.488), control2: CGPoint(x: 12, y: 1.724))
        p.addLine(to: CGPoint(x: 12, y: 14))
        p.addCurve(to: CGPoint(x: 11.707, y: 14.707), control1: CGPoint(x: 12, y: 14.276), control2: CGPoint(x: 11.902, y: 14.512))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11, y: 3))
        p.addLine(to: CGPoint(x: 11, y: 2))
        p.addLine(to: CGPoint(x: 4, y: 2))
        p.addLine(to: CGPoint(x: 4, y: 3))
        p.addLine(to: CGPoint(x: 11, y: 3))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5.11, y: 14))
        p.addLine(to: CGPoint(x: 7.015, y: 6.379))
        p.addCurve(to: CGPoint(x: 7.146, y: 6.146), control1: CGPoint(x: 7.038, y: 6.288), control2: CGPoint(x: 7.081, y: 6.211))
        p.addCurve(to: CGPoint(x: 7.379, y: 6.015), control1: CGPoint(x: 7.211, y: 6.081), control2: CGPoint(x: 7.288, y: 6.038))
        p.addCurve(to: CGPoint(x: 7.759, y: 6.069), control1: CGPoint(x: 7.515, y: 5.981), control2: CGPoint(x: 7.642, y: 5.999))
        p.addCurve(to: CGPoint(x: 7.985, y: 6.379), control1: CGPoint(x: 7.875, y: 6.139), control2: CGPoint(x: 7.951, y: 6.242))
        p.addLine(to: CGPoint(x: 9.89, y: 14))
        p.addLine(to: CGPoint(x: 11, y: 14))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.addLine(to: CGPoint(x: 4, y: 4))
        p.addLine(to: CGPoint(x: 4, y: 14))
        p.addLine(to: CGPoint(x: 5.11, y: 14))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// PantsIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val PantsIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "pants", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(PantsIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_pants.xml · Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M11.707 14.707C11.512 14.902 11.276 15 11 15L9.89 15C9.661 15 9.456 14.929 9.275 14.788C9.094 14.647 8.976 14.465 8.92 14.243L7.5 8.562L6.08 14.243C6.024 14.465 5.906 14.647 5.725 14.788C5.544 14.929 5.339 15 5.11 15L4 15C3.724 15 3.488 14.902 3.293 14.707C3.098 14.512 3 14.276 3 14L3 2C3 1.724 3.098 1.488 3.293 1.293C3.488 1.098 3.724 1 4 1L11 1C11.276 1 11.512 1.098 11.707 1.293C11.902 1.488 12 1.724 12 2L12 14C12 14.276 11.902 14.512 11.707 14.707ZM11 3L11 2L4 2L4 3L11 3ZM5.11 14L7.015 6.379C7.038 6.288 7.081 6.211 7.146 6.146C7.211 6.081 7.288 6.038 7.379 6.015C7.515 5.981 7.642 5.999 7.759 6.069C7.875 6.139 7.951 6.242 7.985 6.379L9.89 14L11 14L11 4L4 4L4 14L5.11 14Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "pants" (line-round), MIT. https://gentleface.com/icons/pants
import 'package:flutter/widgets.dart';

class PantsIcon extends StatelessWidget {
  const PantsIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _PantsIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _PantsIconPainter extends CustomPainter {
  _PantsIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(11.707, 14.707)
      ..cubicTo(11.512, 14.902, 11.276, 15, 11, 15)
      ..lineTo(9.89, 15)
      ..cubicTo(9.661, 15, 9.456, 14.929, 9.275, 14.788)
      ..cubicTo(9.094, 14.647, 8.976, 14.465, 8.92, 14.243)
      ..lineTo(7.5, 8.562)
      ..lineTo(6.08, 14.243)
      ..cubicTo(6.024, 14.465, 5.906, 14.647, 5.725, 14.788)
      ..cubicTo(5.544, 14.929, 5.339, 15, 5.11, 15)
      ..lineTo(4, 15)
      ..cubicTo(3.724, 15, 3.488, 14.902, 3.293, 14.707)
      ..cubicTo(3.098, 14.512, 3, 14.276, 3, 14)
      ..lineTo(3, 2)
      ..cubicTo(3, 1.724, 3.098, 1.488, 3.293, 1.293)
      ..cubicTo(3.488, 1.098, 3.724, 1, 4, 1)
      ..lineTo(11, 1)
      ..cubicTo(11.276, 1, 11.512, 1.098, 11.707, 1.293)
      ..cubicTo(11.902, 1.488, 12, 1.724, 12, 2)
      ..lineTo(12, 14)
      ..cubicTo(12, 14.276, 11.902, 14.512, 11.707, 14.707)
      ..close()
      ..moveTo(11, 3)
      ..lineTo(11, 2)
      ..lineTo(4, 2)
      ..lineTo(4, 3)
      ..lineTo(11, 3)
      ..close()
      ..moveTo(5.11, 14)
      ..lineTo(7.015, 6.379)
      ..cubicTo(7.038, 6.288, 7.081, 6.211, 7.146, 6.146)
      ..cubicTo(7.211, 6.081, 7.288, 6.038, 7.379, 6.015)
      ..cubicTo(7.515, 5.981, 7.642, 5.999, 7.759, 6.069)
      ..cubicTo(7.875, 6.139, 7.951, 6.242, 7.985, 6.379)
      ..lineTo(9.89, 14)
      ..lineTo(11, 14)
      ..lineTo(11, 4)
      ..lineTo(4, 4)
      ..lineTo(4, 14)
      ..lineTo(5.11, 14)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_PantsIconPainter old) => old.color != color;
}
```
