Server icon
keyline-icons:server
The Server icon (keyline-icons:server) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Keyline Icons
- Author
- Keyline Icons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M6 2L18 2C19.1046 2 20 2.8954 20 4L20 8C20 9.1046 19.1046 10 18 10L6 10C4.8954 10 4 9.1046 4 8L4 4C4 2.8954 4.8954 2 6 2ZM6 14L18 14C19.1046 14 20 14.8954 20 16L20 20C20 21.1046 19.1046 22 18 22L6 22C4.8954 22 4 21.1046 4 20L4 16C4 14.8954 4.8954 14 6 14Z"/><path fill="currentColor" d="M9 6C9 6.5523 8.5523 7 8 7C7.4477 7 7 6.5523 7 6C7 5.4477 7.4477 5 8 5C8.5523 5 9 5.4477 9 6ZM13 6C13 6.5523 12.5523 7 12 7C11.4477 7 11 6.5523 11 6C11 5.4477 11.4477 5 12 5C12.5523 5 13 5.4477 13 6ZM9 18C9 18.5523 8.5523 19 8 19C7.4477 19 7 18.5523 7 18C7 17.4477 7.4477 17 8 17C8.5523 17 9 17.4477 9 18ZM13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17C12.5523 17 13 17.4477 13 18Z" stroke="none"/></g></svg>How to use the Server icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:server" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:server" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:server" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--server]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:server"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:server"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/server.svg" alt="Server icon" width="24" height="24">Related icons in Keyline Icons
server-duotone
server-fill
server-minus
server-minus-duotone
server-minus-fill
server-minus-sharp
server-minus-sharp-duotone
server-minus-sharp-fill
server-minus-sharp-two-tone
server-minus-two-tone
server-plus
server-plus-duotone
server-plus-fill
server-plus-sharp
server-plus-sharp-duotone
server-plus-sharp-fill
server-plus-sharp-two-tone
server-plus-two-tone
server-sharp
server-sharp-duotone
server-sharp-fill
server-sharp-two-tone
server-two-tone
server-zap
Server icon in other icon sets
Server icon FAQ
Is the Server icon free for commercial use?
Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Server icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:server" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Server icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/server.svg" alt="Server icon">, or paste the SVG code inline to style it with CSS.