Icons / message-square-x 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.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-message-square-xCopy npx shadcn@latest add @velaui/icon-message-square-xCopy yarn dlx shadcn@latest add @velaui/icon-message-square-xCopy bunx --bun shadcn@latest add @velaui/icon-message-square-xCopy Usage
Copy // 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
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy 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;