T Shirt icon
boxicons:t-shirt
The T Shirt icon (boxicons:t-shirt) 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m21.37 4.07l-5-2A.9.9 0 0 0 16 2h-1c-.55 0-1 .45-1 1c0 1.1-.9 2-2 2s-2-.9-2-2c0-.55-.45-1-1-1H8c-.13 0-.25.02-.37.07l-5 2A1 1 0 0 0 2 5v6c0 .55.45 1 1 1h2v9c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-9h2c.55 0 1-.45 1-1V5a1 1 0 0 0-.63-.93M20 10h-3v10H7V10H4V5.68l4.13-1.65c.45 1.71 2.02 2.98 3.87 2.98s3.41-1.26 3.87-2.98L20 5.68z"/></svg>How to use the T Shirt icon
React
import { Icon } from "@iconify/react";
<Icon icon="boxicons:t-shirt" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="boxicons:t-shirt" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="boxicons:t-shirt" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--t-shirt]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:t-shirt"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="boxicons:t-shirt"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/boxicons/t-shirt.svg" alt="T Shirt icon" width="24" height="24">Related icons in Boxicons
t-shirt-filled
tab
tab-filled
table
table-cells
table-cells-filled
table-cells-large
table-cells-large-filled
table-columns
table-columns-filled
table-columns-merge
table-columns-merge-filled
table-columns-split
table-columns-split-filled
table-filled
table-layout
table-layout-filled
table-list
table-list-filled
table-rows
table-rows-filled
table-rows-merge
table-rows-merge-filled
table-rows-split
T Shirt icon in other icon sets
T Shirt icon FAQ
Is the T Shirt 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 T Shirt icon in React?
Install @iconify/react and render <Icon icon="boxicons: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/boxicons/t-shirt.svg" alt="T Shirt icon">, or paste the SVG code inline to style it with CSS.