ICONYZ
English
Dna icon from Line Awesome

Dna icon

la:dna

The Dna icon (la:dna) is a free SVG icon from the Line Awesome set by Icons8. It is drawn on a 32 × 32 grid. Line Awesome icons are released under the Apache 2.0 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
Line Awesome
Author
Icons8
License
Apache-2.0
Size
32 × 32
Category
Science
Tags
dna solid
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path fill="currentColor" d="M6 5c0 3.023 1.281 5.375 3.094 7.219c1.437 1.465 3.183 2.668 4.969 3.781C9.895 18.633 6 21.512 6 27h2c0-4.695 3.781-7.258 7.969-9.844c.996.614 1.969 1.211 2.875 1.844h-3.657c-1 .602-1.882 1.3-2.78 2h8.905l.157.156c.57.578 1.074 1.192 1.468 1.844H10.595c-.5.602-.793 1.3-1.094 2h14.25c.156.617.25 1.273.25 2h2c0-3.023-1.281-5.375-3.094-7.219c-1.812-1.843-4.125-3.25-6.375-4.625s-4.437-2.719-6-4.312S8 7.477 8 5zm18 0a7.8 7.8 0 0 1-.281 2H9.5c.3.7.594 1.398 1.094 2h12.281c-.438.723-.992 1.379-1.625 2h-8.844c.899.7 1.781 1.398 2.781 2h3.688c-.602.438-1.234.879-1.875 1.313c.602.398 1.21.695 1.813 1.093C22.613 12.906 26 10 26 5z"/></svg>

How to use the Dna icon

React

import { Icon } from "@iconify/react";

<Icon icon="la:dna" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="la:dna" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="la:dna" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[la--dna]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/la -->
<div class="i-la:dna"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="la:dna"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/la/dna.svg" alt="Dna icon" width="24" height="24">

Dna icon in other icon sets

Dna icon FAQ

Is the Dna icon free for commercial use?

Yes. Line Awesome icons are released under the Apache 2.0 license, which allows use in personal and commercial projects.

How do I use the Dna icon in React?

Install @iconify/react and render <Icon icon="la:dna" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Dna icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/la/dna.svg" alt="Dna icon">, or paste the SVG code inline to style it with CSS.

Browse all Line Awesome icons →