Vela UI Docsvenizia.ai

mail-02

Mail02, one of the 856 Vela UI icons, in the Communication 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-mail-02.

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

Installation

pnpm dlx velaui add @velaui/icon-mail-02

Usage

// components/icons/mail-02.tsx
import Mail02 from "@/components/icons/mail-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Mail02({ size = 24, strokeWidth = 1, className, ref, ...props }: Mail02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M3 9.99403C3 13.0587 3 17.8416 3 17.8416C3 19.0337 4.00736 20 5.25 20H18.75C19.9926 20 21 19.0337 21 17.8416V9.48746M3 9.99403C3 9.62194 3.19982 9.27609 3.52875 9.07889L12 4L20.4265 8.54687C20.7808 8.73802 21 9.09758 21 9.48746M3 9.99403C3.45 9.99403 12 15.3314 12 15.3314L21 9.48746" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Mail02.displayName = "Mail02";

export default Mail02;