Vela UI Docsvenizia.ai

server-02

Server02, 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-server-02.

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

Installation

pnpm dlx velaui add @velaui/icon-server-02

Usage

// components/icons/server-02.tsx
import Server02 from "@/components/icons/server-02"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function Server02({ size = 24, strokeWidth = 1, className, ref, ...props }: Server02Props) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M21.6 6.6C21.6 8.58823 17.302 10.2 12 10.2C6.69809 10.2 2.40002 8.58823 2.40002 6.6M21.6 6.6C21.6 4.61177 17.302 3 12 3C6.69809 3 2.40002 4.61177 2.40002 6.6M21.6 6.6V17.4C21.6 19.3882 17.302 21 12 21C6.69809 21 2.40002 19.3882 2.40002 17.4V6.6M21.6 12C21.6 13.9882 17.302 15.6 12 15.6C6.69809 15.6 2.40002 13.9882 2.40002 12" stroke="currentColor"/>
    </svg>
  );
}
Server02.displayName = "Server02";

export default Server02;