Icons / brackets brackets Brackets, 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.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-bracketsCopy npx shadcn@latest add @velaui/icon-bracketsCopy yarn dlx shadcn@latest add @velaui/icon-bracketsCopy bunx --bun shadcn@latest add @velaui/icon-bracketsCopy Usage
Copy // components/icons/brackets.tsx
import Brackets from "@/components/icons/brackets"
<Brackets 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 BracketsProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Brackets ({ size = 24, strokeWidth = 1, className, ref, ... props } : BracketsProps) {
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.8531 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.9109" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
Brackets.displayName = "Brackets" ;
export default Brackets;