Skip to content
Cuelark UI

Hover the icon or press Play. Suggested motion: shake. Pick another to preview it and update the animated code:

Lucide · LuEraser

Eraser icon

A free eraser icon from Lucide, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.

License
ISC license
Project
lucide.dev
Install with shadcn
npx shadcn@latest add https://ui.cuelark.com/r/icons/lucide/eraser.json
components/icons/lucide-eraser.tsx
import * as React from "react";

/**
 * Eraser from Lucide (https://lucide.dev/), ISC.
 * Via Cuelark UI: ui.cuelark.com/icons/lucide/eraser. Sized in em, colored by currentColor.
 */
export function LuEraserIcon(props: React.SVGProps<SVGSVGElement>) {
  return (
    <svg
      aria-hidden="true"
      fill="none"
      strokeWidth="2"
      viewBox="0 0 24 24"
      strokeLinecap="round"
      strokeLinejoin="round"
      stroke="currentColor"
      fill="currentColor"
      width="1em"
      height="1em"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21"
      />
      <path d="M22 21H7" />
      <path d="m5 11 9 9" />
    </svg>
  );
}
With react-icons
import { LuEraser } from "react-icons/lu";

export function Example() {
  return <LuEraser className="size-5" />;
}
eraser.svg
<svg
  fill="none"
  stroke-width="2"
  viewBox="0 0 24 24"
  stroke-linecap="round"
  stroke-linejoin="round"
  stroke="currentColor"
  fill="currentColor"
  width="1em"
  height="1em"
  xmlns="http://www.w3.org/2000/svg"
>
  <path
    d="m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21"
  />
  <path d="M22 21H7" />
  <path d="m5 11 9 9" />
</svg>
Attribution
"Eraser" icon from Lucide (https://lucide.dev/), licensed under ISC license.

Eraser icon in other sets