Vela UI Docsvenizia.ai

sun-03

Sun03, 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-sun-03.

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

Installation

pnpm dlx velaui add @velaui/icon-sun-03

Usage

// components/icons/sun-03.tsx
import Sun03 from "@/components/icons/sun-03"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Sun03({ size = 24, strokeWidth = 1, className, ref, ...props }: Sun03Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12 5.51342V2.3999M12 21.5999V18.4864M18.4865 11.9999H21.6M2.40002 11.9999H5.51354M16.587 7.41348L18.7885 5.2119M5.21128 18.7881L7.41286 16.5866M16.587 16.5863L18.7885 18.7879M5.21128 5.21166L7.41286 7.41325M15.5688 11.8733C15.5688 13.8616 13.957 15.4733 11.9688 15.4733C9.98055 15.4733 8.36877 13.8616 8.36877 11.8733C8.36877 9.88512 9.98055 8.27334 11.9688 8.27334C13.957 8.27334 15.5688 9.88512 15.5688 11.8733Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Sun03.displayName = "Sun03";

export default Sun03;