Pen icon
mdi:pen
The Pen icon (mdi:pen) is a free SVG icon from the Material Design Icons set by Pictogrammers. It is drawn on a 24 × 24 grid. Material Design Icons are released under the Apache 2.0 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
- Material Design Icons
- Author
- Pictogrammers
- License
- Apache-2.0
- Size
- 24 × 24
- Category
- Drawing / Art
- Tags
- drawing, art
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M20.71 7.04c-.34.34-.67.67-.68 1c-.03.32.31.65.63.96c.48.5.95.95.93 1.44s-.53 1-1.04 1.5l-4.13 4.14L15 14.66l4.25-4.24l-.96-.96l-1.42 1.41l-3.75-3.75l3.84-3.83c.39-.39 1.04-.39 1.41 0l2.34 2.34c.39.37.39 1.02 0 1.41M3 17.25l9.56-9.57l3.75 3.75L6.75 21H3z"/></svg>How to use the Pen icon
React
import { Icon } from "@iconify/react";
<Icon icon="mdi:pen" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="mdi:pen" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="mdi:pen" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[mdi--pen]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/mdi -->
<div class="i-mdi:pen"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="mdi:pen"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/mdi/pen.svg" alt="Pen icon" width="24" height="24">Related icons in Material Design Icons
pen-lock
pen-minus
pen-off
pen-plus
pen-remove
pencil
pencil-box
pencil-box-multiple
pencil-box-multiple-outline
pencil-box-outline
pencil-circle
pencil-circle-outline
pencil-lock
pencil-lock-outline
pencil-minus
pencil-minus-outline
pencil-off
pencil-off-outline
pencil-outline
pencil-plus
pencil-plus-outline
pencil-remove
pencil-remove-outline
pencil-ruler
Pen icon in other icon sets
Pen icon FAQ
Is the Pen icon free for commercial use?
Yes. Material Design Icons are released under the Apache 2.0 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="mdi: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/mdi/pen.svg" alt="Pen icon">, or paste the SVG code inline to style it with CSS.