Vela UI Docsvenizia.ai

cursor-02

Cursor02, 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-cursor-02.

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

Installation

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

Usage

// components/icons/cursor-02.tsx
import Cursor02 from "@/components/icons/cursor-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Cursor02({ size = 24, strokeWidth = 1, className, ref, ...props }: Cursor02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M13.3323 13.3106L20.4 20.3996M12.9399 12.9165L18.5417 11.0739C19.5918 10.7286 19.5973 9.2424 18.5503 8.80466L5.23756 3.69867C4.25681 3.28867 3.30266 4.22117 3.68723 5.21382L8.51764 18.9212C8.92802 19.9804 10.4099 20.0126 10.7815 18.9704L12.9399 12.9165Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Cursor02.displayName = "Cursor02";

export default Cursor02;