Vela UI Docsvenizia.ai

card-02

Card02, 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-02.

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

Installation

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

Usage

// components/icons/card-02.tsx
import Card02 from "@/components/icons/card-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Card02({ size = 24, strokeWidth = 1, className, ref, ...props }: Card02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M2.99959 9.29995H20.9996M6.59959 13.4999H9.59959M4.80005 5.1001H19.1997C20.5251 5.1001 21.5996 6.17377 21.5997 7.49923L21.5999 16.5011C21.6 17.8266 20.5255 18.9001 19.2 18.9001L4.80029 18.8999C3.47484 18.8999 2.40035 17.8254 2.40031 16.5L2.40005 7.50016C2.40002 6.17465 3.47454 5.1001 4.80005 5.1001Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
Card02.displayName = "Card02";

export default Card02;