Dns icon

Dns is a Google Material Symbol from the Hardware category. It's one of the 500 most used Material Symbols. It comes in outlined, rounded and sharp styles, filled or unfilled, at seven weights from 100 to 700. Download it as SVG or PNG, or copy code for HTML, React, Vue, Angular, Flutter and Android — it's free to use under the Apache License 2.0.

Outlined

SVG

Outlined, filled

SVG

Every style, fill and weight

Material Symbols are variable: each icon comes in three styles, with or without fill, at seven weights. Pick a combination to preview it, download it, or copy the code for your platform.

GradeOptical size

Outlined, unfilled, weight 400

dns_outlined_fill0_wght400.svg

Dns icon in HTML

Load the Material Symbols font from Google Fonts (this link loads just this icon), then use the icon's name as text.

<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=dns" />

<span class="material-symbols-outlined">dns</span>

Dns icon in React

// With the font from the HTML tab:
export function DnsIcon() {
  return (
    <span className="material-symbols-outlined">
      dns
    </span>
  );
}

// Or as an SVG component (Vite + vite-plugin-svgr) instead:
//   npm install @material-symbols/svg-400
//   import DnsIcon from "@material-symbols/svg-400/outlined/dns.svg?react";

Dns icon in MUI

The @mui/icons-material component (from the older Material Icons set, so no weight or grade):

npm install @mui/icons-material @mui/material @emotion/react @emotion/styled

import DnsOutlinedIcon from "@mui/icons-material/DnsOutlined";

<DnsOutlinedIcon />

Dns icon in Vue

<!-- With the font from the HTML tab -->
<template>
  <span class="material-symbols-outlined">dns</span>
</template>

<!-- Or as an SVG component (Vite + vite-svg-loader):
     npm install @material-symbols/svg-400
     import DnsIcon from "@material-symbols/svg-400/outlined/dns.svg?component"; -->

Dns icon in Angular

With Angular Material and the font from the HTML tab:

<mat-icon fontSet="material-symbols-outlined">dns</mat-icon>

Dns icon in Flutter

Uses the community material_symbols_icons package.

flutter pub add material_symbols_icons

import 'package:material_symbols_icons/symbols.dart';

Icon(Symbols.dns, fill: 0, weight: 400, grade: 0, opticalSize: 24)

// Or Flutter's built-in Material Icons (the older designs, no fill or weight):
Icon(Icons.dns_outlined)

Dns icon in Android

A vector drawable of the selected style, fill and weight, for XML layouts and Jetpack Compose:

<!-- res/drawable/ic_dns.xml -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="24dp"
    android:height="24dp"
    android:viewportWidth="24"
    android:viewportHeight="24"
    android:tint="?attr/colorControlNormal">
        <path android:fillColor="@android:color/white" android:pathData="M7.172 6.075q-.522 0-.884 .366-.363 .365-.363 .887 0 .522 .366 .885 .365 .362 .887 .362 .522 0 .885-.365 .362-.366 .362-.888 0-.522-.365-.884-.366-.363-.888-.363Zm0 10.35q-.522 0-.884 .366-.363 .365-.363 .887 0 .522 .366 .885 .365 .362 .887 .362 .522 0 .885-.365 .362-.366 .362-.888 0-.522-.365-.884-.366-.363-.888-.363ZM3.85 3.025h16.275q.4 0 .638 .238t.237 .645V10.625q0 .436-.237 .73T20.125 11.65H3.85q-.375 0-.612-.295T3 10.625v-6.717q0-.408 .238-.645T3.85 3.025Zm.65 1.5v5.625h15v-5.625H4.5Zm-.65 8.825h16.175q.375 0 .675 .313t.3 .713V20.975q0 .5-.3 .763T20.025 22H3.975q-.4 0-.687-.262T3 20.975v-6.599q0-.401 .238-.713T3.85 13.35Zm.65 1.5v5.65h15v-5.65H4.5Zm0-10.325v5.625-5.625Zm0 10.325v5.65-5.65Z" />
</vector>

// Jetpack Compose
Icon(painterResource(R.drawable.ic_dns), contentDescription = "Dns")

Dns icon in SVG

npm install @material-symbols/svg-400

import icon from "@material-symbols/svg-400/outlined/dns.svg";

<!-- or load it from a CDN -->
<img src="https://cdn.jsdelivr.net/npm/@material-symbols/svg-400@0.47.5/outlined/dns.svg" width="24" height="24" alt="Dns">

Dns icon in Power Apps

Paste into an Image control's Image property. The Copy button copies the full formula with this icon's SVG.

"data:image/svg+xml;utf8, " & EncodeUrl("<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'>…</svg>")

Details

NameDns
Ligaturedns
Code pointU+E875
CategoryHardware
StylesOutlined, Rounded, Sharp — each unfilled or filled
Weights100, 200, 300, 400, 500, 600, 700
Files@material-symbols/svg-400/outlined/dns.svg, dns-fill.svg
FlutterSymbols.dns (Material Icons: Icons.dns)
MUI@mui/icons-material/Dns
LicenseApache License 2.0 (© Google LLC)

Keywords

hardwarenetworkconnectioninformationsettingsinternetlistsystembarsconfigurationabstract

Related icons