Vela UI Docsvenizia.ai

cloud-rain

CloudRain, 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-cloud-rain.

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

Installation

pnpm dlx velaui add @velaui/icon-cloud-rain

Usage

// components/icons/cloud-rain.tsx
import CloudRain from "@/components/icons/cloud-rain"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CloudRain({ size = 24, strokeWidth = 1, className, ref, ...props }: CloudRainProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M12 15.5999L10.2 18.5999M15 18.5999L13.2 21.5999M21 8.3999C21 11.7136 18.3137 14.3999 15 14.3999C13.5438 14.3999 11.4 14.3999 11.4 14.3999C11.4 14.3999 9.11306 14.3999 7.8 14.3999C5.14903 14.3999 3 12.2509 3 9.5999C3 6.94894 5.14903 4.7999 7.8 4.7999C8.54469 4.7999 9.24977 4.96949 9.87873 5.27214C10.9331 3.54943 12.8323 2.3999 15 2.3999C18.3137 2.3999 21 5.08619 21 8.3999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CloudRain.displayName = "CloudRain";

export default CloudRain;