Vela UI Docsvenizia.ai

align-vertical-center-01

AlignVerticalCenter01, 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-align-vertical-center-01.

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

Installation

pnpm dlx velaui add @velaui/icon-align-vertical-center-01

Usage

// components/icons/align-vertical-center-01.tsx
import AlignVerticalCenter01 from "@/components/icons/align-vertical-center-01"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function AlignVerticalCenter01({ size = 24, strokeWidth = 1, className, ref, ...props }: AlignVerticalCenter01Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M11.9997 21.6004L11.9997 2.40039M6.39462 14.6186L9.11468 12.0004L6.39461 9.38221M9.11468 12.0004H2.4M17.6054 9.38221L14.8853 12.0004L17.6054 14.6186M14.8853 12.0004L21.6 12.0004" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
AlignVerticalCenter01.displayName = "AlignVerticalCenter01";

export default AlignVerticalCenter01;