database icon

database from Codicons by Microsoft Corporation · Regular · CC-BY-4.0 Attribution required.

Name
database
Set
Codicons
Style
Regular
Viewbox
16×16
License
CC BY 4.0

The same icon in other sets

Use the database icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><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>

React

import type { SVGProps } from "react";

export function CodiconDatabase(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><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>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 16 16"><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>
</template>

CSS

.icon-database {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%201C5.149%201%203%202.075%203%203.5v9C3%2013.925%205.149%2015%208%2015s5-1.075%205-2.5v-9C13%202.075%2010.851%201%208%201m0%201c2.441%200%204%20.888%204%201.5S10.441%205%208%205s-4-.888-4-1.5S5.558%202%208%202m0%2012c-2.442%200-4-.889-4-1.5V5.021A7.4%207.4%200%200%200%208%206a7.4%207.4%200%200%200%204-.979V12.5c0%20.611-1.559%201.5-4%201.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M8%201C5.149%201%203%202.075%203%203.5v9C3%2013.925%205.149%2015%208%2015s5-1.075%205-2.5v-9C13%202.075%2010.851%201%208%201m0%201c2.441%200%204%20.888%204%201.5S10.441%205%208%205s-4-.888-4-1.5S5.558%202%208%202m0%2012c-2.442%200-4-.889-4-1.5V5.021A7.4%207.4%200%200%200%208%206a7.4%207.4%200%200%200%204-.979V12.5c0%20.611-1.559%201.5-4%201.5%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/codicon/database.svg?color=%231a73e8&size=48