Vela UI Docsvenizia.ai

card-check

CardCheck, 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-check.

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

Installation

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

Usage

// components/icons/card-check.tsx
import CardCheck from "@/components/icons/card-check"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CardCheck({ size = 24, strokeWidth = 1, className, ref, ...props }: CardCheckProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M13.8002 18.8999H4.20049C2.87503 18.8999 1.80053 17.8254 1.80049 16.5L1.80023 7.50016C1.80019 6.17465 2.87472 5.1001 4.20023 5.1001H18.5997C19.9252 5.1001 20.9997 6.17399 20.9997 7.49951L20.9998 11.7001M17.3998 16.4829L18.9083 17.9915L22.1998 14.6999M2.39977 9.29995H20.3998" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CardCheck.displayName = "CardCheck";

export default CardCheck;