Vela UI Docsvenizia.ai

card-minus

CardMinus, 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-card-minus.

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

Installation

pnpm dlx velaui add @velaui/icon-card-minus

Usage

// components/icons/card-minus.tsx
import CardMinus from "@/components/icons/card-minus"

<CardMinus 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 CardMinusProps extends React.SVGProps<SVGSVGElement> {
  size?: number | string;
}

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CardMinus({ size = 24, strokeWidth = 1, className, ref, ...props }: CardMinusProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M13.6547 18.8999H4.05498C2.72953 18.8999 1.65502 17.8254 1.65498 16.5L1.65472 7.50016C1.65469 6.17465 2.72921 5.1001 4.05472 5.1001H18.4542C19.7797 5.1001 20.8542 6.17399 20.8542 7.49951L20.8543 11.7001M2.25426 9.29995H20.2543M17.2539 16.0457L22.3453 16.0454" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CardMinus.displayName = "CardMinus";

export default CardMinus;