File Code Warning
The file-code-warning icon represents a warning sign for a code file, indicating potential errors or issues.
Exports at 24 × 24 px
Code
File Code Warning in your framework
In any framework. Customize it above, and the code follows.
export const FileCodeWarningIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" {...props}>
<g fill="none"><path fill="#e3e3e3" d="M18.893 4.825a.96.96 0 0 1 .28.677V22.04a.957.957 0 0 1-.956.956H1.957a.956.956 0 0 1-.956-.956V1.956A.956.956 0 0 1 1.958 1h12.713a.96.96 0 0 1 .676.287z"/><path fill="#fff" d="m17.119 3.054l-1.772-1.767A.96.96 0 0 0 14.671 1H1.958a.956.956 0 0 0-.956.956v17.215z"/><path fill="#ffef5e" d="M18.062 12.483a.908.908 0 0 0-1.603 0l-4.835 9.214a.884.884 0 0 0 .36 1.189a.9.9 0 0 0 .441.114h9.67a.9.9 0 0 0 .773-.43a.88.88 0 0 0 .03-.873z"/><path fill="#fff9bf" d="M17.26 11.998a.9.9 0 0 0-.801.478l-4.835 9.214a.884.884 0 0 0 .36 1.19a.9.9 0 0 0 .441.113h4.835z"/><path stroke="#191919" strokeLinecap="round" strokeLinejoin="round" d="M17.26 18.218V15.35m.802-2.867a.908.908 0 0 0-1.603 0l-4.835 9.214a.884.884 0 0 0 .36 1.189a.9.9 0 0 0 .441.114h9.67a.9.9 0 0 0 .773-.43a.88.88 0 0 0 .03-.873zM8.653 22.996H1.958a.956.956 0 0 1-.956-.956V1.956A.956.956 0 0 1 1.958 1h12.713a.96.96 0 0 1 .676.287l3.546 3.538a.96.96 0 0 1 .28.677V8.65M3.871 5.785v3.826m8.607-3.826v3.826M9.61 12.48v3.826m5.738-10.521v3.826"/><path stroke="#191919" strokeLinecap="round" strokeLinejoin="round" d="M8.175 5.782a1.435 1.435 0 0 1 1.434 1.434v.957a1.435 1.435 0 0 1-2.869 0v-.957a1.435 1.435 0 0 1 1.435-1.434m-2.869 6.694a1.435 1.435 0 0 1 1.434 1.435v.956a1.434 1.434 0 0 1-2.869 0v-.956a1.434 1.434 0 0 1 1.435-1.435"/><path stroke="#191919" d="M17.26 20.606a.24.24 0 0 1 0-.479m0 .479a.24.24 0 0 0 0-.479"/></g>
</svg>
);Ultimate color icons
More like it
Icons that share its tags, in the same style.
Search Ultimate color icons
Skip the copy and paste. With Pro, your AI agent finds and installs any Ultimate color icons icon from a prompt.
Get ProTags
Browse by tag
File Code Warning is tagged file, software, warning and 3 more. Related tags follow; each opens its icons from every library.
Pricing
Ultimate color icons MCP, with Pro
Ask for File Code Warning or any of 998 Ultimate color icons icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the File Code Warning icon means and where it's used, then how to install, style, label and license it.
The file-code-warning icon represents a warning sign for a code file, indicating potential errors or issues. This icon is often used in software development and coding environments to alert users of possible problems. The warning sign is typically depicted as a triangle with an exclamation mark, symbolizing caution.
In real-world applications, this icon appears in integrated development environments (IDEs) like Visual Studio Code, IntelliJ, or Eclipse, as well as in code review tools like GitHub or Bitbucket.
From a UX perspective, the file-code-warning icon communicates that there may be issues with the code that need to be addressed. It helps users quickly identify potential problems and take corrective action.
File Code Warning is one of 998 icons in Ultimate color icons, made by Streamline and released under CC BY 4.0. It is drawn on a 24 × 24 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds FileCodeWarningIcon to components/icons/streamline-ultimate-color-file-code-warning.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed FileCodeWarningIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the File Code Warning icon, or any of 998 Ultimate color icons icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 24 × 24 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="File Code Warning", so screen readers say what it does.
Yes. FileCodeWarningIcon passes every SVG prop to the svg element, so <FileCodeWarningIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes, with credit: CC BY 4.0 asks you to credit the author (Streamline) where you use the icons. The full terms are in the license, linked on this page.
Yes. CC BY 4.0 asks you to credit the author where you use the icons, for example "Icons by Streamline, CC BY 4.0" on an about or credits page.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are file, software, warning, alert, error and code. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for File Code Warning in another set.
4.9 out of 5 from 150+ developers
Install File Code Warning from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro