Vela UI Docsvenizia.ai

edit-02

Edit02, 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-edit-02.

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

Installation

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

Usage

// components/icons/edit-02.tsx
import Edit02 from "@/components/icons/edit-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Edit02({ size = 24, strokeWidth = 1, className, ref, ...props }: Edit02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M13.4486 6.95156L17.0486 10.5516M4.44867 19.5516L8.81465 18.6718C9.04643 18.6251 9.25925 18.511 9.42639 18.3438L19.2001 8.56474C19.6687 8.09588 19.6683 7.33589 19.1993 6.86743L17.1289 4.79936C16.6601 4.33109 15.9005 4.33141 15.4321 4.80007L5.65743 14.5801C5.49062 14.747 5.37672 14.9594 5.32997 15.1907L4.44867 19.5516Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Edit02.displayName = "Edit02";

export default Edit02;