Server icon

A free pencil-style server icon, drawn by code from 2 closed shapes and 2 dots. Use it as an SVG, a React component, or by name. MIT licensed.

server

01Use it

Use server

One package, four ways in. The icon inherits currentColor and is decorative unless you give it a title. Install it with npm i @matita/icons.

React

import { Server } from '@matita/icons/react';

<Server size={24} />

// or by name
import { SketchIcon } from '@matita/icons/react';
<SketchIcon name="server" />

JavaScript

import { Server, toSvg } from '@matita/icons';

toSvg(Server, { size: 24 });   // SVG string

SVG

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round" overflow="visible" class="sketch-icon sketch-icon-server" data-sketch="" aria-hidden="true"><path d="M3.39 3.68Q11.91 3.34 20.43 3.41Q20.4 7.29 20.58 11.17Q12.07 10.87 3.55 11.16Q3.33 7.42 3.39 3.68Q4.06 3.64 4.73 3.66" stroke-width="1.776"/><path d="M3.31 13.17Q12 13.04 20.68 12.89Q20.23 16.62 20.44 20.36Q12.05 20.68 3.67 20.34Q3.59 16.75 3.31 13.17Q4.21 13.1 5.1 13.14" stroke-width="1.616"/><path d="M7.48 7.4l.01 0M7.51 16.85l.01 0" stroke-width="2.48"/></svg>

Pencil variant

import '@matita/icons/pencil.css';
import { Server } from '@matita/icons/react';

<Server size={32} pencil />

The file is icons/server.svg in the package (pencil/server.svg for the pencil variant). Matita 0.2.1.

02How it's drawn

The recipe for server

Server is not stored as a drawing. It is a recipe of 2 closed shapes and 2 dots on a 24 by 24 grid, and a small program draws it like a pencil would. The wobble comes from the name, so it always comes out the same.

A · Recipe
Z 3.5 3.5 20.5 3.5 20.5 11 3.5 11;
Z 3.5 13 20.5 13 20.5 20.5 3.5 20.5;
O 7.5 7.25;
O 7.5 16.75
B · Plotted
C · Drawn
How it works

03Takes, sizes, pencil

Same icon, every way

Pass a seed for another take of the same recipe. The wobble is capped, so it still reads at 16 px.

seed 0
seed 1
seed 2
seed 3
seed 4

Five seeds of server. Seed 0 is the default.

16 px
20 px
24 px
32 px
48 px
96 px

True pixel sizes.

Ink
Pencil