Vela UI Docsvenizia.ai

eraser-01

Eraser01, 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-01.

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

Installation

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

Usage

// components/icons/eraser-01.tsx
import Eraser01 from "@/components/icons/eraser-01"

<Eraser01 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 Eraser01Props extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Eraser01({ size = 24, strokeWidth = 1, className, ref, ...props }: Eraser01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M11.1019 21.3411L17.4002 15.0427L21.2716 11.1713C21.4821 10.9596 21.6002 10.6732 21.6002 10.3747C21.6002 10.0762 21.4821 9.78977 21.2716 9.57805L15.6218 3.9282C15.41 3.71774 15.1237 3.59961 14.8251 3.59961C14.5266 3.59961 14.2402 3.71774 14.0285 3.9282L2.72879 15.2279C2.51834 15.4396 2.40021 15.726 2.40021 16.0245C2.40021 16.3231 2.51834 16.6095 2.72879 16.8212L7.24868 21.3411H19.6784M9.91199 8.04472L17.4002 15.0427" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Eraser01.displayName = "Eraser01";

export default Eraser01;