Vela UI Docsvenizia.ai

brackets-slash

BracketsSlash, 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-slash.

  • 16px
  • 20px
  • 24px
  • 32px

Installation

pnpm dlx velaui add @velaui/icon-brackets-slash

Usage

// components/icons/brackets-slash.tsx
import BracketsSlash from "@/components/icons/brackets-slash"

<BracketsSlash className="size-5 text-muted" />

In use

  • In a button

  • In a sentence

    Due Friday, or whenever the venue confirms.

  • In an input

  • As a badge

    Scheduled
  • In an empty state

    No events on this day yet.

    Browse blocks

Source

import * as React from "react";

export interface BracketsSlashProps extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function BracketsSlash({ size = 24, strokeWidth = 1, className, ref, ...props }: BracketsSlashProps) {
  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.9109M15.6 7.3627L9 16.9627" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
BracketsSlash.displayName = "BracketsSlash";

export default BracketsSlash;