Vela UI Docsvenizia.ai

marker-02

Marker02, 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-marker-02.

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

Installation

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

Usage

// components/icons/marker-02.tsx
import Marker02 from "@/components/icons/marker-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Marker02({ size = 24, strokeWidth = 1, className, ref, ...props }: Marker02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12 21.5999C12 21.5999 19.513 14.9216 19.513 9.91294C19.513 5.76361 16.1493 2.3999 12 2.3999C7.85064 2.3999 4.48694 5.76361 4.48694 9.91294C4.48694 14.9216 12 21.5999 12 21.5999Z" stroke="currentColor"/>
      <path d="M14.4003 9.60005C14.4003 10.9255 13.3258 12.0001 12.0003 12.0001C10.6748 12.0001 9.60029 10.9255 9.60029 9.60005C9.60029 8.27457 10.6748 7.20005 12.0003 7.20005C13.3258 7.20005 14.4003 8.27457 14.4003 9.60005Z" stroke="currentColor"/>
    </svg>
  );
}
Marker02.displayName = "Marker02";

export default Marker02;