Vela UI Docsvenizia.ai

sun-down

SunDown, 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-down.

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

Installation

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

Usage

// components/icons/sun-down.tsx
import SunDown from "@/components/icons/sun-down"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function SunDown({ size = 24, strokeWidth = 1, className, ref, ...props }: SunDownProps) {
  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.6M8.26669 17.3331C8.26669 15.2712 9.93816 13.5998 12 13.5998C14.0619 13.5998 15.7334 15.2712 15.7334 17.3331M12.0008 2.93311L12.0008 10.3998M8.80081 7.19977L12.0008 10.3998L15.2008 7.19977" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
SunDown.displayName = "SunDown";

export default SunDown;