Icons / message-square-alert message-square-alert MessageSquareAlert, 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-alert.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-message-square-alertCopy npx shadcn@latest add @velaui/icon-message-square-alertCopy yarn dlx shadcn@latest add @velaui/icon-message-square-alertCopy bunx --bun shadcn@latest add @velaui/icon-message-square-alertCopy Usage
Copy // components/icons/message-square-alert.tsx
import MessageSquareAlert from "@/components/icons/message-square-alert"
<MessageSquareAlert 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 MessageSquareAlertProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function MessageSquareAlert ({ size = 24, strokeWidth = 1, className, ref, ... props } : MessageSquareAlertProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M12 6.00039V9.60039M12 13.2004V13.1102M11.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>
);
}
MessageSquareAlert.displayName = "MessageSquareAlert" ;
export default MessageSquareAlert;