Icons / annotation-x annotation-x AnnotationX, 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-x.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-annotation-xCopy npx shadcn@latest add @velaui/icon-annotation-xCopy yarn dlx shadcn@latest add @velaui/icon-annotation-xCopy bunx --bun shadcn@latest add @velaui/icon-annotation-xCopy Usage
Copy // components/icons/annotation-x.tsx
import AnnotationX from "@/components/icons/annotation-x"
<AnnotationX 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 AnnotationXProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function AnnotationX ({ size = 24, strokeWidth = 1, className, ref, ... props } : AnnotationXProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M14.25 12L12 9.75M12 9.75L9.75 7.5M12 9.75L9.75 12M12 9.75L14.25 7.5M14.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>
);
}
AnnotationX.displayName = "AnnotationX" ;
export default AnnotationX;