Database 2 icon
lineicons:database-2
The Database 2 icon (lineicons:database-2) is a free SVG icon from the Lineicons set. It is drawn on a 24 × 24 grid. Lineicons 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M5.286 3.713c-.433.38-.786.897-.786 1.537v13.5c0 .64.353 1.158.786 1.537c.435.381 1.021.69 1.68.934c1.325.49 3.105.779 5.034.779c1.93 0 3.709-.288 5.034-.779c.659-.244 1.245-.553 1.68-.934c.433-.38.786-.897.786-1.537V5.25c0-.64-.353-1.158-.786-1.537c-.435-.381-1.021-.69-1.68-.934C15.709 2.289 13.929 2 12 2c-1.93 0-3.709.288-5.033.779c-.66.244-1.246.553-1.68.934m.989 1.128c.248-.217.65-.447 1.213-.655C8.606 3.77 10.2 3.5 12 3.5s3.394.271 4.512.686c.563.208.965.438 1.213.655c.25.219.275.36.275.409c0 .05-.025.19-.274.409c-.249.217-.651.447-1.213.655C15.394 6.73 13.798 7 12 7s-3.394-.271-4.512-.686c-.563-.208-.965-.438-1.213-.655C6.025 5.44 6 5.299 6 5.25c0-.05.025-.19.275-.409M18 9.75c0 .05-.025.19-.274.409c-.249.217-.651.447-1.213.656c-1.119.414-2.714.685-4.513.685s-3.394-.271-4.512-.685c-.563-.209-.965-.439-1.213-.656C6.025 9.94 6 9.799 6 9.75V7.282c.294.165.62.31.967.44C8.29 8.211 10.07 8.5 12 8.5s3.709-.288 5.034-.779c.346-.128.672-.274.966-.439zM6 11.782c.294.165.62.31.967.44C8.29 12.711 10.07 13 12 13s3.709-.288 5.034-.779c.346-.128.672-.274.966-.439v2.468c0 .05-.025.19-.274.409c-.249.217-.651.447-1.213.656c-1.119.414-2.714.685-4.513.685s-3.394-.271-4.512-.685c-.563-.209-.965-.439-1.213-.656c-.25-.219-.275-.36-.275-.409zm0 6.968v-2.468c.294.165.62.31.967.44c1.324.49 3.104.778 5.033.778s3.709-.288 5.034-.779c.346-.128.672-.274.966-.439v2.468c0 .05-.025.19-.274.409c-.249.217-.651.447-1.213.656c-1.119.414-2.714.685-4.513.685s-3.394-.271-4.512-.686c-.563-.208-.965-.438-1.213-.655c-.25-.219-.275-.36-.275-.409"/></svg>How to use the Database 2 icon
React
import { Icon } from "@iconify/react";
<Icon icon="lineicons:database-2" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="lineicons:database-2" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="lineicons:database-2" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[lineicons--database-2]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/lineicons -->
<div class="i-lineicons:database-2"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="lineicons:database-2"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/lineicons/database-2.svg" alt="Database 2 icon" width="24" height="24">Database 2 icon in other icon sets
Database 2 icon FAQ
Is the Database 2 icon free for commercial use?
Yes. Lineicons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Database 2 icon in React?
Install @iconify/react and render <Icon icon="lineicons:database-2" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Database 2 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/lineicons/database-2.svg" alt="Database 2 icon">, or paste the SVG code inline to style it with CSS.