softicons.dev

dna icon

Free dna SVG icon, MIT licensed. Copy the SVG, install for React/Vue/Angular, or download. Part of the Softicons interface set.

Setup guide
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"
     fill="none" stroke="currentColor" stroke-width="2"
     stroke-linecap="round" stroke-linejoin="round">
  <path d="M4 3c0 6 16 6 16 12"/>
  <path d="M20 3c0 6-16 6-16 12"/>
  <path d="M4 21c0-3 16-3 16 0"/>
  <line x1="7" y1="5" x2="17" y2="5"/>
  <line x1="8.5" y1="8" x2="15.5" y2="8"/>
  <line x1="8.5" y1="16" x2="15.5" y2="16"/>
  <line x1="7" y1="19" x2="17" y2="19"/>
</svg>
<!-- via the CDN — no build step -->
<img src="https://cdn.softicons.dev/v1/icons/interface/dna.svg"
     width="24" height="24" alt="dna icon">

<!-- …or paste the raw SVG from the SVG tab -->
import { DnaIcon } from "@softicons/react";

export default function Example() {
  return <DnaIcon size={24} strokeWidth={2} />;
}
<script setup>
import { DnaIcon } from "@softicons/vue";
</script>

<template>
  <DnaIcon :size="24" :stroke-width="2" />
</template>
import { DnaIconComponent } from "@softicons/angular";

@Component({
  standalone: true,
  imports: [DnaIconComponent],
  template: `<dna-icon [size]="24" [strokeWidth]="2" />`,
})
export class DemoComponent {}