Vela UI Docsvenizia.ai

server-up

ServerUp, 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-up.

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

Installation

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

Usage

// components/icons/server-up.tsx
import ServerUp from "@/components/icons/server-up"

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

/** Custom vela-ui icon, synced from Figma (node under section "Icons"). */
export function ServerUp({ size = 24, strokeWidth = 1, className, ref, ...props }: ServerUpProps) {
  return (
    <svg
      ref={ref}
      width={size}
      height={size}
      viewBox="0 0 24 24"
      fill="none"
      strokeWidth={strokeWidth}
      className={className}
      {...props}
    >
      <path d="M17.3997 16.8004H11.3997M6.59975 16.8906V16.8004M14.3997 4.73255L12.054 2.40039L9.59975 4.84297M12.054 2.40039V8.40039M16.8001 12.0004H7.1999C4.54887 12.0004 2.39982 14.1495 2.3999 16.8005C2.39999 19.4514 4.549 21.6004 7.1999 21.6004H16.8001C19.451 21.6004 21.6001 19.4514 21.6001 16.8004C21.6001 14.1494 19.451 12.0004 16.8001 12.0004Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round"/>
    </svg>
  );
}
ServerUp.displayName = "ServerUp";

export default ServerUp;