Pencil Fill icon
bi:pencil-fill
The Pencil Fill icon (bi:pencil-fill) is a free SVG icon from the Bootstrap Icons set by The Bootstrap Authors. It is drawn on a 24 × 24 grid. Bootstrap 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
- Bootstrap Icons
- Author
- The Bootstrap Authors
- License
- MIT
- Size
- 24 × 24
- Tags
- pencilfill
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M12.854.146a.5.5 0 0 0-.707 0L10.5 1.793L14.207 5.5l1.647-1.646a.5.5 0 0 0 0-.708zm.646 6.061L9.793 2.5L3.293 9H3.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.5h.5a.5.5 0 0 1 .5.5v.207zm-7.468 7.468A.5.5 0 0 1 6 13.5V13h-.5a.5.5 0 0 1-.5-.5V12h-.5a.5.5 0 0 1-.5-.5V11h-.5a.5.5 0 0 1-.5-.5V10h-.5a.5.5 0 0 1-.175-.032l-.179.178a.5.5 0 0 0-.11.168l-2 5a.5.5 0 0 0 .65.65l5-2a.5.5 0 0 0 .168-.11z"/></svg>How to use the Pencil Fill icon
React
import { Icon } from "@iconify/react";
<Icon icon="bi:pencil-fill" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bi:pencil-fill" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bi:pencil-fill" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bi--pencil-fill]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bi -->
<div class="i-bi:pencil-fill"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bi:pencil-fill"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bi/pencil-fill.svg" alt="Pencil Fill icon" width="24" height="24">Related icons in Bootstrap Icons
Pencil Fill icon in other icon sets
Pencil Fill icon FAQ
Is the Pencil Fill icon free for commercial use?
Yes. Bootstrap Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Pencil Fill icon in React?
Install @iconify/react and render <Icon icon="bi:pencil-fill" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Pencil Fill icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bi/pencil-fill.svg" alt="Pencil Fill icon">, or paste the SVG code inline to style it with CSS.