John KuehJohn Kueh

pencil slash icon

Phosphor · pencil-slash · MIT

Download SVG

The Phosphor pencil slash icon depicts a pencil with a line through it, commonly used to indicate a read-only state or to disable editing functionality.

Common uses

  • Disabling an edit button
  • Marking a field as read-only
  • Indicating that content cannot be modified

Use it in React

Install
npm i @phosphor-icons/react
Import & render
import { PencilSlash } from '@phosphor-icons/react';

<PencilSlash size={24} />

Styles

Phosphor ships this icon in 6 styles — each its own import:

regular
<PencilSlash size={24} />
thin
<PencilSlash size={24} weight="thin" />
light
<PencilSlash size={24} weight="light" />
bold
<PencilSlash size={24} weight="bold" />
fill
<PencilSlash size={24} weight="fill" />
duotone
<PencilSlash size={24} weight="duotone" />

Details

Library
Phosphor (1,512 icons)
License
MIT
viewBox
0 0 256 256
Category
design
Keywords
read-onlywritewritingeditingdesigneditorofficepencilslashno editdisabled editread onlycannot write

FAQ

What does the pencil slash icon represent?
It signifies that an action, like editing or writing, is not allowed or is disabled.
How do I use the pencil slash icon in React?
Import it from the library like this: import { PencilSlash } from '@phosphor-icons/react'.
What is the license for Phosphor icons?
Phosphor icons are distributed under the MIT license, allowing for free use.

Related icons

The same idea in other libraries, and near matches in Phosphor.

Looking for something else? Search Phosphor and 4 more libraries by description →