Icons / annotation-alert annotation-alert AnnotationAlert, 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-annotation-alert.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-annotation-alertCopy npx shadcn@latest add @velaui/icon-annotation-alertCopy yarn dlx shadcn@latest add @velaui/icon-annotation-alertCopy bunx --bun shadcn@latest add @velaui/icon-annotation-alertCopy Usage
Copy // components/icons/annotation-alert.tsx
import AnnotationAlert from "@/components/icons/annotation-alert"
<AnnotationAlert 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 AnnotationAlertProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function AnnotationAlert ({ size = 24, strokeWidth = 1, className, ref, ... props } : AnnotationAlertProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M12 6.375V9.75M12 13.125V13.0404M14.4457 16.3043L12 21L9.75 16.3043H5.25C4.00736 16.3043 3 15.297 3 14.0543V5.25C3 4.00736 4.00736 3 5.25 3H18.75C19.9926 3 21 4.00736 21 5.25V14.0543C21 15.297 19.9926 16.3043 18.75 16.3043H14.4457Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
AnnotationAlert.displayName = "AnnotationAlert" ;
export default AnnotationAlert;