ICONYZ
English
Macbook icon from Flat UI Icons

Macbook icon

flat-ui:macbook

The Macbook icon (flat-ui:macbook) is a free SVG icon from the Flat UI Icons set by Designmodo, Inc.. It is drawn on a 100 × 100 grid. Flat UI Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Flat UI Icons
Author
Designmodo, Inc.
License
MIT
Size
100 × 100
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="#2C3E50" fill-rule="evenodd" d="M10 62V5a5 5 0 0 1 5-5h70a5 5 0 0 1 5 5v57z" clip-rule="evenodd"/><path fill="#35495E" fill-rule="evenodd" d="M14 4h72v54H14z" clip-rule="evenodd"/><path fill="#BDC3C7" fill-rule="evenodd" d="M0 62h100v3c0 2.209-2.791 3-5 3H5c-2.209 0-5-.791-5-3z" clip-rule="evenodd"/><path fill="#95A5A5" fill-rule="evenodd" d="M59.95 62a2.5 2.5 0 0 1-2.45 2h-15a2.5 2.5 0 0 1-2.45-2z" clip-rule="evenodd"/></svg>

How to use the Macbook icon

React

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

<Icon icon="flat-ui:macbook" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="flat-ui:macbook" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="flat-ui:macbook" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[flat-ui--macbook]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/flat-ui -->
<div class="i-flat-ui:macbook"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="flat-ui:macbook"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/flat-ui/macbook.svg" alt="Macbook icon" width="24" height="24">

Macbook icon FAQ

Is the Macbook icon free for commercial use?

Yes. Flat UI Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Macbook icon in React?

Install @iconify/react and render <Icon icon="flat-ui:macbook" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Macbook icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/flat-ui/macbook.svg" alt="Macbook icon">, or paste the SVG code inline to style it with CSS.

Browse all Flat UI Icons →