Vela UI Docsvenizia.ai

map-01

Map01, 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-map-01.

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

Installation

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

Usage

// components/icons/map-01.tsx
import Map01 from "@/components/icons/map-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Map01({ size = 24, strokeWidth = 1, className, ref, ...props }: Map01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M4.125 4.6875L19.4118 19.9412M11.4706 13.0588L4.58824 19.9412M6.17647 21H17.8235C19.5778 21 21 19.5778 21 17.8235V6.17647C21 4.42215 19.5778 3 17.8235 3H6.17647C4.42215 3 3 4.42215 3 6.17647V17.8235C3 19.5778 4.42215 21 6.17647 21Z" stroke="currentColor" strokeLinecap="round"/>
    </svg>
  );
}
Map01.displayName = "Map01";

export default Map01;