Icons

Mingcute Diamond 2 Line Icon

IconStash indexes the Diamond 2 Line icon from Mingcute alongside 134,701 icons from 28 open-source libraries. It uses stroked lines with no fill — clean, legible, and versatile at any size, making it well suited for general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. Set an exact pixel size from 16px to 512px and download a lossless PNG in one click.

Interactive Customizer

1.5px
128px

About this icon

Use the Diamond 2 Line icon

Icons in the outline style — like Diamond 2 Line — are designed for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. Use it across general-purpose product UIs, design systems, component libraries, web applications, and marketing sites for a consistent, professional look.

IconStash's editor lets you fine-tune color, size, and stroke width in real time, then export in the format that fits your workflow: SVG, PNG, JSX, or CSS background-mask.

Export formats

Copy clean SVG vectors with one click, generate custom-size PNG files from 16px to 512px, export JSX/React components ready to paste into your project, or use the icon as a CSS background-mask for flexible theming.

All exports are based on the same editable vector — so the Diamond 2 Line icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

MingCute draws Diamond 2 Line with soft, slightly rounded terminals that read as friendly rather than technical. Most concepts ship in both line and filled versions, which is useful when one icon needs to signal both an inactive and an active state without you sourcing a second set.

UX best practices

As a general interface glyph, the Diamond 2 Line icon does its job best between 16px and 24px, sitting next to a text label. Icon-only treatments work for a small set of universally understood actions, but comprehension falls off quickly once the action is specific to your product — so when in doubt, add the word.

Use in your project

React / npm — Mingcute

npm install @mingcute/icon-react

import { Diamond2LineLine } from '@mingcute/icon-react';

// JSX usage:
<Diamond2LineLine size={24} />

Copy the SVG markup directly from the IconStash editor to use the Diamond 2 Line icon without any npm package — paste it into HTML, JSX, or a design tool.

Inline SVG (copy & paste)

<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="diamond-2-line icon"><g fill="none" fill-rule="evenodd"><path d="m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"/><path fill="currentColor" d="M17 3a2 2 0 0 1 1.492.668l.108.132l3.704 4.939a2 2 0 0 1-.012 2.416l-.108.13l-9.259 10.184a1.25 1.25 0 0 1-1.753.096l-.097-.096l-9.259-10.185a2 2 0 0 1-.215-2.407l.095-.138L5.4 3.8a2 2 0 0 1 1.43-.793L7 3zm-2.477 8H9.477L12 17.307zm5.217 0h-3.063l-2.406 6.015zM7.323 11H4.261l5.468 6.015zm5.059-6h-.764l-2 4h4.764zM17 5h-2.382l2 4H20zM9.382 5H7L4 9h3.382z"/></g></svg>

Library & related icons

About MingCute Icons

3,300+ high-quality icons with both line and filled variants. Clean, modern aesthetic designed for polished product interfaces and design systems.

  • Total icons: 3,352+
  • Style: multi-style
  • License: Apache 2.0
  • npm package: @mingcute/icon-react
Browse all 3,352 MingCute Icons icons →

People also search for

Frequently asked questions

What is the Diamond 2 Line icon?

The Diamond 2 Line icon is a outline-style SVG icon from the Mingcute library, categorized under Interface. It is designed for use in general-purpose product UIs, design systems, component libraries, web applications, and marketing sites. On IconStash you can preview it, customize its color and size, and export it in SVG, PNG, JSX, or CSS formats directly from your browser.

Is the Diamond 2 Line icon free to use?

Yes. Mingcute is licensed under Apache 2.0, making it free for personal and commercial use. This means you can freely use the Diamond 2 Line icon in personal, commercial, and open-source projects. IconStash provides SVG and PNG access at no cost with no login required.

How do I use the Diamond 2 Line icon in React?

Install the package with `npm install @mingcute/icon-react`, then import the component into your React file. IconStash's detail panel shows you the exact npm command, import statement, and JSX usage snippet for every icon — just click the Code tab and copy with one click.

What is the Mingcute icon library?

3,300+ high-quality icons with both line and filled variants. Clean, modern aesthetic designed for polished product interfaces and design systems. It contains 3,352+ icons. IconStash indexes the complete Mingcute collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the Diamond 2 Line icon as a PNG?

Yes. Open the Diamond 2 Line icon in IconStash, set your desired pixel size (16px to 512px) in the detail panel, and click Download PNG. You can also export a multi-resolution ZIP pack containing 16, 24, 32, 48, 64, 128, 256, and 512px PNGs with a single click.

What does the outline icon style mean?

An icon in outline style uses stroked lines with no fill — clean, legible, and versatile at any size. This style is best suited for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. The Mingcute Diamond 2 Line icon follows this visual convention throughout the Mingcute design system.

Can I change the Diamond 2 Line icon's color and size before downloading?

Yes. In IconStash's editor panel, choose from six color presets (blue, slate, green, purple, red, teal) or enter a custom hex value. Drag the size slider (16–256px) or type an exact pixel value up to 512px. Changes apply instantly to the SVG preview, the PNG output, and the copied code.