Icons

Line MD File Cancel Icon

IconStash indexes the File Cancel icon from Line MD 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 document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers. 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 File Cancel icon

Icons in the outline style — like File Cancel — are designed for app navigation bars, toolbar buttons, form labels, and UI controls where clarity at 16–24px is critical. Use it across document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers 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 File Cancel icon stays pixel-perfect at 16px, 24px, 48px, and any large marketing size.

Design & UX integration

Aesthetic characteristics

File Cancel is an animated line icon — the paths are authored so they can be drawn on progressively, which is what produces the writing-in effect. It suits loading, success and transition states where motion carries meaning, and should be disabled under prefers-reduced-motion.

UX best practices

In file explorers, document lists and CMS dashboards, put the File Cancel icon immediately to the left of the filename so the eye scans one straight line. If it triggers a destructive action, keep a confirmation step — a delete or archive glyph is too easy to hit by accident in a dense list.

Use in your project

React / npm — Line MD

npm install @iconify/react

import { Icon } from '@iconify/react';

// JSX usage (via Iconify):
<Icon icon="line-md:file-cancel" width={24} height={24} />

Copy the SVG markup directly from the IconStash editor to use the File Cancel 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="file-cancel icon"><defs><mask id="SVG8U564Hdz"><g stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="none" stroke-dasharray="62" d="M13.5 3l5.5 5.5v11.5c0 0.55 -0.45 1 -1 1h-12c-0.55 0 -1 -0.45 -1 -1v-16c0 -0.55 0.45 -1 1 -1Z"><animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="62;0"/></path><path fill="currentColor" d="M14 3.5l0 4.5l4.5 0Z" opacity="0"><set fill="freeze" attributeName="opacity" begin="0.6s" to="1"/><animate fill="freeze" attributeName="d" begin="0.6s" dur="0.2s" values="M14 3.5l2.25 2.25l2.25 2.25Z;M14 3.5l0 4.5l4.5 0Z"/></path></g><path d="M18.5 11c4.14 0 7.5 3.36 7.5 7.5c0 4.14 -3.36 7.5 -7.5 7.5c-4.14 0 -7.5 -3.36 -7.5 -7.5c0 -4.14 3.36 -7.5 7.5 -7.5Z" opacity="0"><set fill="freeze" attributeName="opacity" begin="0.8s" to="1"/></path></mask></defs><path fill="currentColor" d="M0 0h24v24H0z" mask="url(#SVG8U564Hdz)"/><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path stroke-dasharray="32" stroke-dashoffset="32" d="M18.5 14c2.48 0 4.5 2.02 4.5 4.5c0 2.48 -2.02 4.5 -4.5 4.5c-2.48 0 -4.5 -2.02 -4.5 -4.5c0 -2.48 2.02 -4.5 4.5 -4.5Z"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.8s" dur="0.4s" to="0"/></path><path stroke-dasharray="10" stroke-dashoffset="10" d="M16 16l5 5"><animate fill="freeze" attributeName="stroke-dashoffset" begin="1.2s" dur="0.2s" to="0"/></path></g></svg>

Library & related icons

About Line MD Icons

1,200+ animated SVG line icons with smooth path animations. Perfect for loading states, success feedback, onboarding flows, and interactive interfaces.

  • Total icons: 1,279+
  • Style: animated
  • License: MIT
  • npm package: @iconify/react
Browse all 1,279 Line MD Icons icons →

People also search for

Frequently asked questions

What is the File Cancel icon?

The File Cancel icon is a outline-style SVG icon from the Line MD library, categorized under Files. It is designed for use in document management systems, admin panels, file explorers, CMS dashboards, cloud storage UIs, and PDF viewers. 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 File Cancel icon free to use?

Yes. Line MD is licensed under MIT, making it free for personal and commercial use. This means you can freely use the File Cancel 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 File Cancel icon in React?

Install the package with `npm install @iconify/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 Line MD icon library?

1,200+ animated SVG line icons with smooth path animations. Perfect for loading states, success feedback, onboarding flows, and interactive interfaces. It contains 1,279+ icons. IconStash indexes the complete Line MD collection alongside 27 other open-source libraries — 134,701 icons total — in a single unified search interface.

Can I download the File Cancel icon as a PNG?

Yes. Open the File Cancel 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 Line MD File Cancel icon follows this visual convention throughout the Line MD design system.

Can I change the File Cancel 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.