Icons / card-add card-add CardAdd, 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-add.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-card-addCopy npx shadcn@latest add @velaui/icon-card-addCopy yarn dlx shadcn@latest add @velaui/icon-card-addCopy bunx --bun shadcn@latest add @velaui/icon-card-addCopy Usage
Copy // components/icons/card-add.tsx
import CardAdd from "@/components/icons/card-add"
<CardAdd className = "size-5 text-muted" /> In use In a button
Add event
In a sentence
Due Friday , or whenever the venue confirms.
In an input
As a badge
Scheduled
In an empty state
Source Copy import * as React from "react" ;
export interface CardAddProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function CardAdd ({ size = 24, strokeWidth = 1, className, ref, ... props } : CardAddProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M13.8402 18.6397H4.24053C2.91507 18.6397 1.84057 17.5652 1.84053 16.2397L1.84027 7.23991C1.84023 5.9144 2.91476 4.83984 4.24027 4.83984H18.6397C19.9652 4.83984 21.0398 5.91374 21.0398 7.23926L21.0398 11.4398M2.43981 9.0397H20.4398M19.6336 19.16L19.6336 16.6338M19.6336 16.6338L19.6336 14.1076M19.6336 16.6338H17.1074M19.6336 16.6338H22.1598" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
CardAdd.displayName = "CardAdd" ;
export default CardAdd;