Icons / arrow-up-square-contained arrow-up-square-contained ArrowUpSquareContained, one of the 856 Vela UI icons, in the Arrows 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-arrow-up-square-contained.
Installation
pnpm npm yarn bun
pnpm dlx velaui add @velaui/icon-arrow-up-square-containedCopy npx shadcn@latest add @velaui/icon-arrow-up-square-containedCopy yarn dlx shadcn@latest add @velaui/icon-arrow-up-square-containedCopy bunx --bun shadcn@latest add @velaui/icon-arrow-up-square-containedCopy Usage
Copy // components/icons/arrow-up-square-contained.tsx
import ArrowUpSquareContained from "@/components/icons/arrow-up-square-contained"
<ArrowUpSquareContained 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 ArrowUpSquareContainedProps extends React.SVGProps<SVGSVGElement> {
size ?: number | string;
}
/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ArrowUpSquareContained ({ size = 24, strokeWidth = 1, className, ref, ... props } : ArrowUpSquareContainedProps) {
return (
<svg
ref = {ref}
width = {size}
height = {size}
viewBox = "0 0 24 24"
fill = "none"
strokeWidth = {strokeWidth}
className = {className}
{ ... props}
>
<path d = "M15.9776 11.3761L12.0001 7.5L8.02255 11.3761M12.0001 7.5V16.0165M17.6251 21L6.375 21C4.51104 21 3 19.489 3 17.625L3 6.375C3 4.51104 4.51104 3 6.375 3L17.6251 3C19.4891 3 21.0001 4.51104 21.0001 6.375V17.625C21.0001 19.489 19.4891 21 17.6251 21Z" stroke = "currentColor" strokeLinecap = "round" strokeLinejoin = "round" />
</svg>
);
}
ArrowUpSquareContained.displayName = "ArrowUpSquareContained" ;
export default ArrowUpSquareContained;