Export size24px

 

App.jsx
import { Diagram } from "fmicon-react";

<Diagram size={24} variant="twotone" strokeWidth={1} />

Props

PropTypeDefaultDescription
sizenumber | string24Width and height in pixels
variant"linear" | "bold" | …linearAny of the 8 styles, plus glass-light for light backgrounds
colorstringcurrentColorAny CSS colour; inherits the text colour by default
strokeWidthnumber1.5Line weight for linear, twotone, broken and duotone
...propsSVG attributes–className, aria-label, onClick and the rest

What is the Diagram Icon?

This line chart icon draws a zigzag line plotted against two axes, a vertical one on the left and a horizontal one along the bottom. It stands for data over time: use it to open a chart view, switch a table into a graph or label reports showing trends by day, week or month.

Axes turn a line into a measured chart, so people read the icon as real data rather than a general idea of growth. The line plots one value through time, which suits traffic, prices and temperatures. It differs from a bar chart, which compares categories, from radial rings, which show goal progress, and from a pie chart, which splits one total into shares.

When to Use the Line Chart Icon

  • Data table toolbar: switches the same results between a table and a chart view without leaving the page.
  • Weather app detail screen: opens the hourly temperature chart for the next two days.
  • Crypto or share tracker: shows the price history of a coin or stock across selectable time ranges.
  • Server monitoring tool: labels the metrics tab plotting CPU, memory and response time over the last hour.

The Diagram Icon in Twotone Style

Twotone icons draw the main lines at full strength and a secondary part at lower opacity. The eye lands on the part that matters first, while the rest of the symbol stays readable.

Best for: dashboards, onboarding screens and marketing sections.

The same icon also comes in linear, outline, bold, bulk, broken, glass and duotone. See every icon in this look on the free twotone icons page.

How to Use the Diagram Icon

  1. Customise it. Pick a stroke weight, size and colour on the left. Thin (1 px) looks best at large sizes, Regular (1.5 px) is the default.
  2. Copy or download. Copy the SVG, or download SVG, PNG or WebP at any size from 16 to 512 px.
  3. Drop it into code. Choose React, React Native, Vue, Svelte, Angular or Flutter above and copy the ready-made DiagramIcon component.
  4. Label it. If the icon is the only thing in a button, give it a name for screen readers: aria-label="Show line chart". If text sits next to it, use aria-hidden="true" instead.

Design Tips for the Diagram Icon

  • When drawing a larger version, keep the axes thinner or lighter than the data line, so the zigzag stays the focus.
  • For a table and chart toggle, use aria-pressed on each option so screen reader users know which view is showing.
  • Do not add gridlines or data points to the glyph below 24 px; they turn it into noise and slow recognition.

Icons That Work Well with Diagram

Browse all business icons

Diagram Icon FAQ

Yes, line graph and line chart are two names for the same thing, and the icons look identical: a zigzag line over two axes. British teams tend to say graph in everyday speech, while chart is more common in software menus and data tools.

Use a diagram symbol, usually boxes joined by lines, for flowcharts, mind maps and architecture drawings. Use a line chart for numbers plotted over time. Mixing them confuses people, because a diagram shows how things connect while a chart shows how values change.

Yes. The diagram icon is one of 891 free, open-source icons you can use in personal and commercial work, including client projects and apps you sell. The packages are MIT licensed; keep the licence notice if you redistribute the icon files.

SVG, PNG and WebP, at any size from 16 to 512 pixels. You can also copy it as JSX or as a ready-made component for React, React Native, Vue, Svelte, Angular and Flutter, with your stroke weight and colour already applied.