Gentleface › Shapes › diamond
diamond icon
diamondDiamond: diamond, rhombus, lozenge. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M8.207 13.5C8.012 13.695 7.776 13.793 7.5 13.793C7.224 13.793 6.988 13.695 6.793 13.5L1.5 8.207C1.305 8.012 1.207 7.776 1.207 7.5C1.207 7.224 1.305 6.988 1.5 6.793L6.793 1.5C6.988 1.305 7.224 1.207 7.5 1.207C7.776 1.207 8.012 1.305 8.207 1.5L13.5 6.793C13.695 6.988 13.793 7.224 13.793 7.5C13.793 7.776 13.695 8.012 13.5 8.207L8.207 13.5ZM2.207 7.5L7.5 12.793L12.793 7.5L7.5 2.207L2.207 7.5Z"/></svg>
// Gentleface "diamond" (line-round), MIT. https://gentleface.com/icons/diamond
import type { SVGProps } from 'react';
export function DiamondIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M8.207 13.5C8.012 13.695 7.776 13.793 7.5 13.793C7.224 13.793 6.988 13.695 6.793 13.5L1.5 8.207C1.305 8.012 1.207 7.776 1.207 7.5C1.207 7.224 1.305 6.988 1.5 6.793L6.793 1.5C6.988 1.305 7.224 1.207 7.5 1.207C7.776 1.207 8.012 1.305 8.207 1.5L13.5 6.793C13.695 6.988 13.793 7.224 13.793 7.5C13.793 7.776 13.695 8.012 13.5 8.207L8.207 13.5ZM2.207 7.5L7.5 12.793L12.793 7.5L7.5 2.207L2.207 7.5Z" />
</svg>
);
}Vue: see /icons/diamond.md
Svelte: see /icons/diamond.md
HTML img: see /icons/diamond.md
CSS: see /icons/diamond.md
Data URL: see /icons/diamond.md
Sprite: see /icons/diamond.md
SwiftUI: see /icons/diamond.md
Compose: see /icons/diamond.md
Android XML: see /icons/diamond.md
Flutter: see /icons/diamond.md
Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
Meaning
More shapes icons
burst circle cone cube cylinder dot ellipse hexagon octagon pentagon polygon rectangle rectangle-vertical sphere spiral square · all shapes icons
For agents
Metadata: /icons/diamond.json · Markdown: /icons/diamond.md · SVG: https://gentleface.com/svg/{style}/16/diamond.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/diamond.png