ICONYZ
English
T Shirt icon from Pepicons Pencil

T Shirt icon

pepicons-pencil:t-shirt

The T Shirt icon (pepicons-pencil:t-shirt) is a free SVG icon from the Pepicons Pencil set by CyCraft. It is drawn on a 20 × 20 grid. Pepicons Pencil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Pepicons Pencil
Author
CyCraft
License
CC-BY-4.0
Size
20 × 20
Tags
tshirt
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><g fill="currentColor"><path fill-rule="evenodd" d="m2.668 10.009l1.166-.583V16.5a2.5 2.5 0 0 0 2.5 2.5h7.335a2.5 2.5 0 0 0 2.5-2.5V9.425l1.166.581a.5.5 0 0 0 .71-.338l.945-4.236a.5.5 0 0 0-.135-.463l-2.248-2.24A2.5 2.5 0 0 0 14.842 2h-2.007a.5.5 0 0 0-.493.415c-.287 1.658-1.04 2.409-2.342 2.409c-1.3 0-2.054-.751-2.34-2.409A.5.5 0 0 0 7.167 2H5.161a2.5 2.5 0 0 0-1.766.73L1.15 4.97a.5.5 0 0 0-.135.462l.943 4.238a.5.5 0 0 0 .711.338M5.161 3h1.598C7.195 4.84 8.297 5.824 10 5.824S12.806 4.84 13.243 3h1.6a1.5 1.5 0 0 1 1.058.437l2.053 2.046l-.745 3.343l-1.317-.656a.5.5 0 0 0-.723.448V16.5a1.5 1.5 0 0 1-1.5 1.5H6.334a1.5 1.5 0 0 1-1.5-1.5V8.618a.5.5 0 0 0-.724-.448l-1.316.658l-.744-3.345l2.051-2.045A1.5 1.5 0 0 1 5.161 3" clip-rule="evenodd"/><path d="M12 10.5a.5.5 0 0 1 0-1h2a.5.5 0 0 1 0 1z"/></g></svg>

How to use the T Shirt icon

React

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

<Icon icon="pepicons-pencil:t-shirt" width="24" />

Vue

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

<template>
  <Icon icon="pepicons-pencil:t-shirt" width="24" />
</template>

Svelte

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

<Icon icon="pepicons-pencil:t-shirt" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[pepicons-pencil--t-shirt]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/pepicons-pencil -->
<div class="i-pepicons-pencil:t-shirt"></div>

Web component

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

<iconify-icon icon="pepicons-pencil:t-shirt"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/pepicons-pencil/t-shirt.svg" alt="T Shirt icon" width="24" height="24">

Related icons in Pepicons Pencil

T Shirt icon in other icon sets

T Shirt icon FAQ

Is the T Shirt icon free for commercial use?

Yes. Pepicons Pencil icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.

How do I use the T Shirt icon in React?

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

How do I add the T Shirt icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pepicons-pencil/t-shirt.svg" alt="T Shirt icon">, or paste the SVG code inline to style it with CSS.

Browse all Pepicons Pencil icons →