Vela UI Docsvenizia.ai

card-up

CardUp, 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-up.

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

Installation

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

Usage

// components/icons/card-up.tsx
import CardUp from "@/components/icons/card-up"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CardUp({ size = 24, strokeWidth = 1, className, ref, ...props }: CardUpProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M14.1002 18.5786H4.50048C3.17502 18.5786 2.10051 17.5041 2.10048 16.1787L2.10022 7.17888C2.10018 5.85337 3.17471 4.77881 4.50022 4.77881H18.8997C20.2252 4.77881 21.2997 5.8527 21.2997 7.17822L21.2998 11.3788M2.69976 8.97866H20.6998M21.8998 16.1108L19.554 13.7787L17.0998 16.2212M19.554 13.7787L19.554 19.2212" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
CardUp.displayName = "CardUp";

export default CardUp;