Vela UI Docsvenizia.ai

drop

Drop, 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-drop.

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

Installation

pnpm dlx velaui add @velaui/icon-drop

Usage

// components/icons/drop.tsx
import Drop from "@/components/icons/drop"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Drop({ size = 24, strokeWidth = 1, className, ref, ...props }: DropProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M15.6 14.3999C15.0642 16.0763 13.7176 17.4167 12 17.9999M12 21.5999C8.02999 21.5999 4.79999 18.5578 4.79999 14.8186C4.79999 9.5999 12.0001 2.3999 12.0001 2.3999C12.0001 2.3999 19.2 9.5999 19.2 14.8186C19.2 18.5579 15.9701 21.5999 12 21.5999Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Drop.displayName = "Drop";

export default Drop;