Vela UI Docsvenizia.ai

eraser-02

Eraser02, one of the 856 Vela UI icons, in the General group: a 24px grid drawn in currentColor, so it takes the colour of the text around it. It installs on its own as @velaui/icon-eraser-02.

  • 16px
  • 20px
  • 24px
  • 32px

Installation

pnpm dlx velaui add @velaui/icon-eraser-02

Usage

// components/icons/eraser-02.tsx
import Eraser02 from "@/components/icons/eraser-02"

<Eraser02 className="size-5 text-muted" />

In use

  • In a button

  • In a sentence

    Due Friday, or whenever the venue confirms.

  • In an input

  • As a badge

    Scheduled
  • In an empty state

    No events on this day yet.

    Browse blocks

Source

import * as React from "react";

export interface Eraser02Props extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Eraser02({ size = 24, strokeWidth = 1, className, ref, ...props }: Eraser02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M3.60001 21.6004H21.2M11.335 18.1705H7.90995L3.89228 14.1529C3.70521 13.9647 3.6002 13.7101 3.6002 13.4447C3.6002 13.1794 3.70521 12.9248 3.89228 12.7366L13.9364 2.69247C14.1246 2.50539 14.3792 2.40039 14.6446 2.40039C14.9099 2.40039 15.1645 2.50539 15.3527 2.69247L20.3748 7.71455C20.5618 7.90274 20.6668 8.15731 20.6668 8.42266C20.6668 8.68802 20.5618 8.94259 20.3748 9.13078L11.335 18.1705Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Eraser02.displayName = "Eraser02";

export default Eraser02;