Desktop Mac icon
Used to represent a specific subset of computers. The Desktop Mac 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 Desktop Mac 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 { DesktopMac24Regular, DesktopMac24Filled } from "@fluentui/react-icons";
export function Example() {
return <DesktopMac24Regular aria-label="Desktop Mac" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_desktop_mac_24_regular.svg" width="24" height="24" alt="Desktop Mac"> 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="M4.25 3C3.00736 3 2 4.00736 2 5.25V15.75C2 16.9926 3.00736 18 4.25 18H9.5V19.25C9.5 19.9404 8.94036 20.5 8.25 20.5H7.75C7.33579 20.5 7 20.8358 7 21.25C7 21.6642 7.33579 22 7.75 22H16.25C16.6642 22 17 21.6642 17 21.25C17 20.8358 16.6642 20.5 16.25 20.5H15.75C15.0596 20.5 14.5 19.9404 14.5 19.25V18H19.75C20.9926 18 22 16.9926 22 15.75V5.25C22 4.00736 20.9926 3 19.75 3H4.25ZM13 18V19.25C13 19.7001 13.1081 20.125 13.2999 20.5H10.7001C10.8919 20.125 11 19.7001 11 19.25V18H13ZM3.5 5.25C3.5 4.83579 3.83579 4.5 4.25 4.5H19.75C20.1642 4.5 20.5 4.83579 20.5 5.25V13H3.5V5.25ZM3.5 14.5H20.5V15.75C20.5 16.1642 20.1642 16.5 19.75 16.5H4.25C3.83579 16.5 3.5 16.1642 3.5 15.75V14.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/desktop_mac_24_regular.svg";Details
| Name | Desktop Mac |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_desktop_mac_24_regular.svg |
| Filled file | ic_fluent_desktop_mac_24_filled.svg |
| React components | DesktopMac24Regular, DesktopMac24Filled |
| License | MIT (© Microsoft Corporation) |