Vela UI Docsvenizia.ai

sun-up

SunUp, 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-up.

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

Installation

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

Usage

// components/icons/sun-up.tsx
import SunUp from "@/components/icons/sun-up"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function SunUp({ size = 24, strokeWidth = 1, className, ref, ...props }: SunUpProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M2.40002 21.0664H21.6M2.40002 17.3331H5.06669M4.53336 10.3998L6.41898 12.2854M18.6858 10.3998L16.8002 12.2854M18.9334 17.3331H21.6M12 10.3998V2.93311M15.2 6.13311L12 2.93311L8.80002 6.13311M8.26669 17.3331C8.26669 15.2712 9.93816 13.5998 12 13.5998C14.0619 13.5998 15.7334 15.2712 15.7334 17.3331" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
SunUp.displayName = "SunUp";

export default SunUp;