Icons / brackets-x brackets-x BracketsX, one of the 856 Vela UI icons, in the General 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-brackets-x.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-brackets-xCopy npx shadcn@latest add @velaui/icon-brackets-xCopy yarn dlx shadcn@latest add @velaui/icon-brackets-xCopy bunx --bun shadcn@latest add @velaui/icon-brackets-xCopy Usage
Copy // components/icons/brackets-x.tsx
import BracketsX from "@/components/icons/brackets-x"
<BracketsX 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 BracketsXProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function BracketsX ({ size = 24, strokeWidth = 1, className, ref, ... props } : BracketsXProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M7.08911 20.2379H6.58218C5.18233 20.2379 4.04753 19.1031 4.04753 17.7033V12.634C4.04753 11.8532 2.4 11.4934 2.4 11.4934C2.4 11.4934 4.04753 11.1927 4.04753 10.3528V6.29735C4.04753 4.8975 5.18233 3.7627 6.58218 3.7627H7.08911M16.9109 3.7627H17.4178C18.8177 3.7627 19.9525 4.8975 19.9525 6.29735V11.3667C19.9525 12.1475 21.6 12.5073 21.6 12.5073C21.6 12.5073 19.9525 12.8079 19.9525 13.6478L19.9525 17.7033C19.9525 19.1031 18.8177 20.2379 17.4178 20.2379H16.9109M9.59989 9.76236L12 12.1625M12 12.1625L14.4001 14.5626M12 12.1625L9.59989 14.5626M12 12.1625L14.4001 9.76236" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
BracketsX.displayName = "BracketsX" ;
export default BracketsX;