Database icon
codicon:database
The Database icon (codicon:database) is a free SVG icon from the Codicons set by Microsoft Corporation. It is drawn on a 24 × 24 grid. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Codicons
- Author
- Microsoft Corporation
- License
- CC-BY-4.0
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8 1C5.149 1 3 2.075 3 3.5v9C3 13.925 5.149 15 8 15s5-1.075 5-2.5v-9C13 2.075 10.851 1 8 1m0 1c2.441 0 4 .888 4 1.5S10.441 5 8 5s-4-.888-4-1.5S5.558 2 8 2m0 12c-2.442 0-4-.889-4-1.5V5.021A7.4 7.4 0 0 0 8 6a7.4 7.4 0 0 0 4-.979V12.5c0 .611-1.559 1.5-4 1.5"/></svg>How to use the Database icon
React
import { Icon } from "@iconify/react";
<Icon icon="codicon:database" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="codicon:database" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="codicon:database" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[codicon--database]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/codicon -->
<div class="i-codicon:database"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="codicon:database"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/codicon/database.svg" alt="Database icon" width="24" height="24">Database icon in other icon sets
Database icon FAQ
Is the Database icon free for commercial use?
Yes. Codicons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Database icon in React?
Install @iconify/react and render <Icon icon="codicon:database" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Database icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/codicon/database.svg" alt="Database icon">, or paste the SVG code inline to style it with CSS.