T Shirt icon
majesticons:t-shirt
The T Shirt icon (majesticons:t-shirt) is a free SVG icon from the Majesticons set by Gerrit Halfmann. It is drawn on a 24 × 24 grid. Majesticons 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
- Majesticons
- Author
- Gerrit Halfmann
- License
- MIT
- Size
- 24 × 24
- Tags
- tshirt
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 10V5a1 1 0 0 1 1-1h4c0 1 .8 3 4 3s4-2 4-3h4a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1h-1a1 1 0 0 0-1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-7a1 1 0 0 0-1-1H4a1 1 0 0 1-1-1"/></svg>How to use the T Shirt icon
React
import { Icon } from "@iconify/react";
<Icon icon="majesticons:t-shirt" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="majesticons:t-shirt" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="majesticons:t-shirt" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--t-shirt]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:t-shirt"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="majesticons:t-shirt"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/majesticons/t-shirt.svg" alt="T Shirt icon" width="24" height="24">Related icons in Majesticons
t-shirt-line
table
table-heart
table-heart-line
table-line
table-plus
table-plus-line
tag
tag-line
tag-off
tag-off-line
telescope
telescope-line
test-tube-filled
test-tube-filled-line
text
text-align-center
text-align-center-line
text-align-justify
text-align-justify-line
text-align-left
text-align-left-line
text-align-right
text-align-right-line
T Shirt icon in other icon sets
T Shirt icon FAQ
Is the T Shirt icon free for commercial use?
Yes. Majesticons 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="majesticons: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/majesticons/t-shirt.svg" alt="T Shirt icon">, or paste the SVG code inline to style it with CSS.