Vela UI Docsvenizia.ai

message-square-x

MessageSquareX, 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-message-square-x.

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

Installation

pnpm dlx velaui add @velaui/icon-message-square-x

Usage

// components/icons/message-square-x.tsx
import MessageSquareX from "@/components/icons/message-square-x"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function MessageSquareX({ size = 24, strokeWidth = 1, className, ref, ...props }: MessageSquareXProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M14.4 12.0004L12 9.60039M12 9.60039L9.60002 7.20039M12 9.60039L9.60002 12.0004M12 9.60039L14.4 7.20039M11.687 16.5917L6.67828 21.6004V16.5917H4.80002C3.47454 16.5917 2.40002 15.5172 2.40002 14.1917V4.80039C2.40002 3.47491 3.47454 2.40039 4.80002 2.40039H19.2C20.5255 2.40039 21.6 3.47491 21.6 4.80039V14.1917C21.6 15.5172 20.5255 16.5917 19.2 16.5917H11.687Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
MessageSquareX.displayName = "MessageSquareX";

export default MessageSquareX;