Prohibited icon
Used to represent blocked or unauthorized access for files, accounts, etc. The Prohibited icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Prohibited icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { Prohibited24Regular, Prohibited24Filled } from "@fluentui/react-icons";
export function Example() {
return <Prohibited24Regular aria-label="Prohibited" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_prohibited_24_regular.svg" width="24" height="24" alt="Prohibited"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2ZM18.5173 6.54309L6.54309 18.5173C8.01955 19.7549 9.92276 20.5 12 20.5C16.6944 20.5 20.5 16.6944 20.5 12C20.5 9.92276 19.7549 8.01955 18.5173 6.54309ZM12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 14.0772 4.24513 15.9804 5.48268 17.4569L17.4569 5.48268C15.9804 4.24513 14.0772 3.5 12 3.5Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/prohibited_24_regular.svg";Details
| Name | Prohibited |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_prohibited_24_regular.svg |
| Filled file | ic_fluent_prohibited_24_filled.svg |
| React components | Prohibited24Regular, Prohibited24Filled |
| License | MIT (© Microsoft Corporation) |