Lantern icon
hugeicons:lantern
The Lantern icon (hugeicons:lantern) is a free SVG icon from the Huge Icons set by Hugeicons. It is drawn on a 24 × 24 grid. Huge 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
- Huge Icons
- Author
- Hugeicons
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 7.5h12v11H6zm0 0C6.717 5.41 8.729 4 10.995 4h2.01C15.271 4 17.283 5.41 18 7.5zm12 11c-.717 2.09-2.729 3.5-4.995 3.5h-2.01C8.729 22 6.717 20.59 6 18.5zM6 7.5H5l1 1m12-1h1l-1 1m0 10h1l-1-1m-12 1H5l1-1M21 11l1-.5M21 15l1 .5M3 11l-1-.5M3 15l-1 .5M12 12v2m0-12v2"/></svg>How to use the Lantern icon
React
import { Icon } from "@iconify/react";
<Icon icon="hugeicons:lantern" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="hugeicons:lantern" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="hugeicons:lantern" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[hugeicons--lantern]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/hugeicons -->
<div class="i-hugeicons:lantern"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="hugeicons:lantern"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/hugeicons/lantern.svg" alt="Lantern icon" width="24" height="24">Lantern icon in other icon sets
Lantern icon FAQ
Is the Lantern icon free for commercial use?
Yes. Huge Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Lantern icon in React?
Install @iconify/react and render <Icon icon="hugeicons:lantern" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Lantern icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/hugeicons/lantern.svg" alt="Lantern icon">, or paste the SVG code inline to style it with CSS.