Pen icon
tdesign:pen
The Pen icon (tdesign:pen) is a free SVG icon from the TDesign Icons set by TDesign. It is drawn on a 24 × 24 grid. TDesign 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
- TDesign Icons
- Author
- TDesign
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="square" stroke-width="2" d="m15 3l-1.062 2.125a8 8 0 0 1-4.465 3.956L5.5 10.5L4 20l9.5-1.5l1.419-3.973a8 8 0 0 1 3.956-4.464L21 9M4.5 19.5L11 13"/></svg>How to use the Pen icon
React
import { Icon } from "@iconify/react";
<Icon icon="tdesign:pen" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="tdesign:pen" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="tdesign:pen" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[tdesign--pen]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/tdesign -->
<div class="i-tdesign:pen"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="tdesign:pen"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/tdesign/pen.svg" alt="Pen icon" width="24" height="24">Related icons in TDesign Icons
Pen icon in other icon sets
Pen icon FAQ
Is the Pen icon free for commercial use?
Yes. TDesign Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pen icon in React?
Install @iconify/react and render <Icon icon="tdesign:pen" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pen icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/tdesign/pen.svg" alt="Pen icon">, or paste the SVG code inline to style it with CSS.