Bootstrap Pencil Square Icon
Use the Pencil Square SVG icon from Bootstrap Icons in your editing interface. IconStash gives you instant access to the SVG code, React JSX snippet, CSS background-mask, and custom PNG download — all from the browser with no login.
Interactive Customizer
About this icon
Use the Pencil Square icon
The Pencil Square icon (Bootstrap Icons) is categorized under Editing. Its fill style is optimal for interface components and product UI and scales cleanly from 16px to 512px.
Use the IconStash detail panel to preview with a custom background, adjust stroke width, and generate production-ready SVG or PNG files without any external tools.
Export formats
Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.
All exports are based on the same editable vector — so the Pencil Square icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.
Design & UX integration
Aesthetic characteristics
Pencil Square is part of Bootstrap Icons, the official set for the Bootstrap framework. The glyphs use a slightly heavier, more geometric line than most outline libraries, and each ships in filled and outline versions — so the same icon can work in a compact toolbar and in a large hero section without looking like two different sets.
UX best practices
In editors and design tools, the Pencil Square icon belongs in a toolbar where it can carry a tooltip and a keyboard-shortcut hint. Keep editing affordances visually lighter than the content they act on; when the chrome competes with the canvas, users lose track of their own work.
Use in your project
React / npm — Bootstrap Icons
npm install react-icons
import { BiPencilSquare } from 'react-icons/bi';
// JSX usage:
<BiPencilSquare size={24} />
Copy the SVG markup directly from the IconStash editor to use the Pencil Square icon without any npm package — paste it into HTML, JSX, or a design tool.
Inline SVG (copy & paste)
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="pencil-square icon"><g fill="currentColor"><path d="M15.502 1.94a.5.5 0 0 1 0 .706L14.459 3.69l-2-2L13.502.646a.5.5 0 0 1 .707 0l1.293 1.293zm-1.75 2.456l-2-2L4.939 9.21a.5.5 0 0 0-.121.196l-.805 2.414a.25.25 0 0 0 .316.316l2.414-.805a.5.5 0 0 0 .196-.12l6.813-6.814z"/><path fill-rule="evenodd" d="M1 13.5A1.5 1.5 0 0 0 2.5 15h11a1.5 1.5 0 0 0 1.5-1.5v-6a.5.5 0 0 0-1 0v6a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11a.5.5 0 0 1 .5-.5H9a.5.5 0 0 0 0-1H2.5A1.5 1.5 0 0 0 1 2.5z"/></g></svg>
Library & related icons
About Bootstrap Icons
Official open-source SVG icon library for Bootstrap. 2,000+ icons spanning fills, strokes, and mixed styles — built by the Bootstrap team.
Browse all 2,090 Bootstrap Icons icons →Related searches
- Bootstrap Crop Icon
- Bootstrap Layout Sidebar Icon
- Bootstrap Layout Sidebar Inset Icon
- Bootstrap Layout Sidebar Inset Reverse Icon
- Bootstrap Layout Sidebar Reverse Icon
- Bootstrap Layout Split Icon
- Bootstrap Layout Text Sidebar Icon
- Bootstrap Layout Text Sidebar Reverse Icon
- Bootstrap Layout Text Window Icon
- Bootstrap Layout Text Window Reverse Icon
People also search for
Frequently asked questions
What is the Pencil Square icon?
The Pencil Square icon is a fill-style SVG icon from the Bootstrap Icons library, categorized under Editing. It is designed for use in rich text editors, design tools, image editors, drawing apps, content creation platforms, and creative suites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.
Is the Pencil Square icon free to use?
Yes. Bootstrap Icons is licensed under MIT, making it free for personal and commercial use. This means you can freely use the Pencil Square icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.
How do I use the Pencil Square icon in React?
Install the package with `npm install bootstrap-icons`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.
What is the Bootstrap Icons icon library?
Official open-source SVG icon library for Bootstrap. 2,000+ icons spanning fills, strokes, and mixed styles — built by the Bootstrap team. It contains 2,090+ icons. IconStash indexes the complete Bootstrap Icons collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.
Can I download the Pencil Square icon as a PNG?
Yes. Open the Pencil Square icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.
What does the fill icon style mean?
An icon in fill style uses a clean SVG vector format. This style is best suited for interface components. The Bootstrap Icons Pencil Square icon follows this visual convention throughout the Bootstrap Icons design system.
Can I change the Pencil Square icon's color and size before downloading?
Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.