Export size24px

 

App.jsx
import { Edit } from "fmicon-react";

<Edit size={24} variant="duotone" strokeWidth={1} />

Props

PropTypeDefaultDescription
sizenumber | string24Width and height in pixels
variant"linear" | "bold" | …linearAny of the 8 styles, plus glass-light for light backgrounds
colorstringcurrentColorAny CSS colour; inherits the text colour by default
strokeWidthnumber1.5Line weight for linear, twotone, broken and duotone
...propsSVG attributes–className, aria-label, onClick and the rest

What is the Edit Icon?

The edit icon shows a pencil resting over a square, meaning change what is here. Put it beside profile details, settings rows, comments and saved content, where clicking turns read-only text into a form or opens an editor. The square tells people the pencil acts on an existing item rather than starting a blank page.

Pencils have long stood for writing that can be rubbed out and changed, so the pencil icon suits edits better than a pen. Placing it over a square narrows the meaning to editing an existing item, a pattern common in mail and settings screens. A pencil alone can also act as a write icon for composing something new. It differs from the note, which holds written content, and from the settings gear, which changes how things behave.

When to Use the Edit Icon

  • Profile page: a button beside the name and bio that switches the fields into editable inputs.
  • Comment thread: an edit action in the menu of your own comments, shown only to the author.
  • Mail app header: a compose button that opens a blank message window.
  • Checkout summary: a link next to the delivery address so people can correct it before paying.

The Edit Icon in Duotone Style

Duotone icons pair the line with a soft tinted fill in the same colour. They add a hint of depth while staying easy to recolour with a single value.

Best for: product UI that wants a little colour without a full illustration style.

The same icon also comes in linear, outline, bold, bulk, twotone, broken and glass. See every icon in this look on the free duotone icons page.

How to Use the Edit Icon

  1. Customise it. Pick a stroke weight, size and colour on the left. Thin (1 px) looks best at large sizes, Regular (1.5 px) is the default.
  2. Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
  3. Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made EditIcon component.
  4. Label it. If the icon is the only thing in a button, give it a name for screen readers: aria-label="Edit details". If text sits next to it, use aria-hidden="true" instead.

Design Tips for the Edit Icon

  • Show edit icons on hover for dense tables, but keep them visible on touch screens, where there is no hover state to reveal them.
  • Give each pencil a specific label, such as Edit address, so screen reader users know which of many edit buttons they are on.
  • After saving, return clearly to the read-only state; leaving the pencil highlighted makes people unsure whether changes were kept.

Icons That Work Well with Edit

Browse all content icons

Edit Icon FAQ

It means edit or write. Next to existing content, it lets you change it, such as a name, address or comment. In mail and notes apps, a pencil on its own usually means compose, starting a new message or note from scratch.

Place it right after the value it edits, on the same line, or at the top right of a card that holds several fields. Keep the position the same across the product, so people learn where to look without reading every label on the page.

Yes. The edit icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.

SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.