Vela UI Docsvenizia.ai

arrow-down-square-contained

ArrowDownSquareContained, 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-down-square-contained.

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

Installation

pnpm dlx velaui add @velaui/icon-arrow-down-square-contained

Usage

// components/icons/arrow-down-square-contained.tsx
import ArrowDownSquareContained from "@/components/icons/arrow-down-square-contained"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ArrowDownSquareContained({ size = 24, strokeWidth = 1, className, ref, ...props }: ArrowDownSquareContainedProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M8.02255 12.6239L12 16.5L15.9776 12.6239M12 16.5L12 7.9835M6.375 3L17.6251 3C19.4891 3 21.0001 4.51104 21.0001 6.375L21.0001 17.625C21.0001 19.489 19.4891 21 17.6251 21L6.375 21C4.51104 21 3 19.489 3 17.625L3 6.375C3 4.51104 4.51104 3 6.375 3Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
ArrowDownSquareContained.displayName = "ArrowDownSquareContained";

export default ArrowDownSquareContained;