Photo 16 Solid icon
heroicons:photo-16-solid
The Photo 16 Solid icon (heroicons:photo-16-solid) is a free SVG icon from the HeroIcons set by Refactoring UI Inc. It is drawn on a 16 × 16 grid. HeroIcons 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
- HeroIcons
- Author
- Refactoring UI Inc
- License
- MIT
- Size
- 16 × 16
- Tags
- photosolid
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M2 4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2zm10.5 5.707a.5.5 0 0 0-.146-.353l-1-1a.5.5 0 0 0-.708 0L9.354 9.646a.5.5 0 0 1-.708 0L6.354 7.354a.5.5 0 0 0-.708 0l-2 2a.5.5 0 0 0-.146.353V12a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5zM12 5a1 1 0 1 1-2 0a1 1 0 0 1 2 0" clip-rule="evenodd"/></svg>How to use the Photo 16 Solid icon
React
import { Icon } from "@iconify/react";
<Icon icon="heroicons:photo-16-solid" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="heroicons:photo-16-solid" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="heroicons:photo-16-solid" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[heroicons--photo-16-solid]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/heroicons -->
<div class="i-heroicons:photo-16-solid"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="heroicons:photo-16-solid"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/heroicons/photo-16-solid.svg" alt="Photo 16 Solid icon" width="24" height="24">Related icons in HeroIcons
Photo 16 Solid icon FAQ
Is the Photo 16 Solid icon free for commercial use?
Yes. HeroIcons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Photo 16 Solid icon in React?
Install @iconify/react and render <Icon icon="heroicons:photo-16-solid" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Photo 16 Solid icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/heroicons/photo-16-solid.svg" alt="Photo 16 Solid icon">, or paste the SVG code inline to style it with CSS.