Vela UI Docsvenizia.ai

moon-02

Moon02, 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-moon-02.

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

Installation

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

Usage

// components/icons/moon-02.tsx
import Moon02 from "@/components/icons/moon-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Moon02({ size = 24, strokeWidth = 1, className, ref, ...props }: Moon02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M18.9 11.7001V8.7001M18.9 8.7001V5.7001M18.9 8.7001L21.9 8.7001M18.9 8.7001H15.9M14.1 5.7001V3.9001M14.1 3.9001V2.1001M14.1 3.9001L15.9 3.9001M14.1 3.9001L12.3 3.9001M21.2999 14.9395C20.3976 15.2132 19.4403 15.3603 18.4487 15.3603C13.0307 15.3603 8.63851 10.9681 8.63851 5.55013C8.63851 4.55891 8.78552 3.60203 9.05892 2.7001C5.03148 3.92148 2.09998 7.66314 2.09998 12.0895C2.09998 17.5075 6.49213 21.8996 11.9101 21.8996C16.3369 21.8996 20.0789 18.9676 21.2999 14.9395Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Moon02.displayName = "Moon02";

export default Moon02;