Icons

Dna icon

Compare 10 free dna icons from 10 open-source libraries and pick the one that matches your design system. Every icon on this page downloads as an editable SVG or a transparent PNG at any size from 16px to 512px — no login, no account, no attribution required.

All 10 free dna icons

Library comparison

Which library should you use?

LibraryStyleLicenseDna icon
Boxicons Outline MIT Dna
Carbon Icons Fill Apache 2.0 Dna
Huge Icons Outline MIT Dna
Iconoir Outline MIT Dna
Lucide Outline ISC Dna
Material Design Icons Fill Apache 2.0 Dna
Phosphor Outline MIT Dna
Remix Icons Bold Apache 2.0 Dna Fill
Solar Icons Bold CC BY 4.0 Dna Bold
Tabler Icons Outline MIT Dna

Outline sets such as Lucide, Tabler and Feather stay legible at 16px in dense interfaces. Material Symbols and Bootstrap Icons give you matched outline and filled pairs. Phosphor, Solar and Fluent add duotone, bold and weight-graded variants when you need more visual hierarchy.

Use this icon in your project

Inline SVG (copy & paste)

Paste this straight into HTML or JSX. It inherits currentColor, so it follows your theme.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" role="img" aria-label="dna icon"><path fill="currentColor" d="M15.794 11.09q.498-.394.947-.84l.136-.142q.426-.438.801-.919l.062-.075c.255-.335.486-.688.702-1.049l.128-.22c.205-.364.395-.737.559-1.123c.02-.047.035-.095.055-.142q.22-.542.383-1.109q.033-.105.063-.211q.16-.604.251-1.229q.018-.13.032-.263c.051-.432.087-.869.087-1.311V2h-2v.457c0 .184-.031.361-.042.543H6.022C6.012 2.819 6 2.64 6 2.457V2H4v.457c0 4.876 3.269 9.218 7.952 10.569l.028.009c2.881.823 5.056 3.146 5.769 5.965H6.251l.799-2h7.607a7.4 7.4 0 0 0-2.063-2h-4c.445-.424.956-.774 1.491-1.09a10 10 0 0 1-2.08-1.014C5.55 14.812 4 17.779 4 21.015V23h2v-1.985L6.001 21h11.998l.001.015V23h2v-1.985c0-3.83-2.159-7.303-5.443-9.07a11 11 0 0 0 1.072-.729zm-1.19-1.604a9 9 0 0 1-2.325 1.348q-.138.052-.278.102A8.95 8.95 0 0 1 8.836 9h6.292c-.171.161-.332.333-.517.48zM17.619 5l-.012.049l-.044.151a9 9 0 0 1-.513 1.252c-.096.19-.213.365-.321.548h-9.48a9 9 0 0 1-.871-2z"/></svg>

React component

Install the package for the library you picked, then import the component.

npm install boxicons

import { Dna } from "boxicons";

export function Example() {
  return <Dna size={24} />;
}

Choosing the right dna icon

Match the icon to the interface

A dna icon has to read instantly at whatever size your interface uses. Below 20px, prefer outline artwork with a consistent stroke weight — heavy filled glyphs turn into blobs. For navigation bars and empty states above 32px, filled or duotone versions carry more visual weight and scan better.

Keep stroke weight consistent across every icon in a view. Mixing a 1.5px Lucide glyph with a 2px Tabler glyph in the same toolbar is the most common reason icon sets look unprofessional.

Accessibility

Decorative icons need aria-hidden="true" so screen readers skip them. If the dna icon is the only thing labelling a control — an icon-only button, for example — give the button an aria-label such as "Dna" and leave the SVG itself hidden.

Never rely on the icon alone to convey state. Pair it with a tooltip or visible text wherever the meaning is not already obvious from context.

Related icon searches

Libraries on this page

Frequently asked questions

Where can I download a free dna icon?

IconStash indexes 10 free dna icons from 10 open-source libraries, including Boxicons, Carbon, Huge, Iconoir, Lucide. Choose one on this page, set the exact size and colour, then copy the SVG markup or download a transparent PNG. No account and no login are required.

Are these dna icons free for commercial use?

Yes. Every icon on this page comes from an open-source library published under a permissive licence (MIT, Apache-2.0, ISC, CC BY 4.0 and similar), all of which allow commercial use. The comparison table above lists the licence for each library so you can confirm the exact terms before shipping.

Can I download a dna icon as a PNG?

Yes. Open any icon on this page, set an exact pixel size between 16px and 512px, choose any colour, and download a transparent PNG. Because every icon here is a vector, the exported PNG stays sharp at any resolution — IconStash also offers a ZIP pack containing 16, 24, 32, 48, 64, 128, 256 and 512px files.

Which library has the best dna icon?

It depends on the design system you are matching. Outline libraries such as Lucide, Tabler and Feather suit dense product interfaces; Material Symbols and Bootstrap Icons ship matched outline and filled variants of the same glyph; Phosphor and Solar add duotone, bold and broken weights. The grid above shows all 10 options side by side so you can judge them at real size.

How do I add a dna icon to a React app?

Copy the SVG markup for any icon on this page and paste it directly into JSX, or install the official npm package for the library you picked — lucide-react, @tabler/icons-react, @phosphor-icons/react, react-bootstrap-icons and react-icons are the most common. Both approaches are shown in the code samples above.

What sizes and styles do dna icons come in?

All 10 icons on this page are vector artwork, so they scale cleanly to any size. The libraries represented here render the dna concept in outline, fill, bold styles, and IconStash can export PNGs at 16, 24, 32, 48, 64, 128, 256 or 512px, or any custom value in between.

Can I change the colour of a dna icon?

Yes. Icons are exported using currentColor, so they inherit the CSS colour of their parent element and follow your theme automatically. You can also pick an exact hex colour in the IconStash editor before downloading, or override the colour with a CSS rule such as .icon { color: #C1DD2D; }.