Iphone icon
flat-ui:iphone
The Iphone icon (flat-ui:iphone) 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
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="M5 0h50a5 5 0 0 1 5 5v90a5 5 0 0 1-5 5H5a5 5 0 0 1-5-5V5a5 5 0 0 1 5-5" clip-rule="evenodd"/><path fill="#35495E" fill-rule="evenodd" d="M5 11h50v73H5zm25 77a3.5 3.5 0 1 1 0 7a3.5 3.5 0 0 1 0-7" clip-rule="evenodd"/></svg>How to use the Iphone icon
React
import { Icon } from "@iconify/react";
<Icon icon="flat-ui:iphone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="flat-ui:iphone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="flat-ui:iphone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[flat-ui--iphone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/flat-ui -->
<div class="i-flat-ui:iphone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="flat-ui:iphone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/flat-ui/iphone.svg" alt="Iphone icon" width="24" height="24">Iphone icon in other icon sets
Iphone icon FAQ
Is the Iphone 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 Iphone icon in React?
Install @iconify/react and render <Icon icon="flat-ui:iphone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Iphone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/flat-ui/iphone.svg" alt="Iphone icon">, or paste the SVG code inline to style it with CSS.