Ikon Open Line
majesticons:open-line
Ikon Open Line (majesticons:open-line) adalah ikon SVG gratis dari set Majesticons karya Gerrit Halfmann. Ikon ini digambar pada grid 24 × 24. Majesticons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial. Salin sebagai kode SVG, JSX, Vue, atau Svelte, atau unduh file SVG-nya.
- Set ikon
- Majesticons
- Pembuat
- Gerrit Halfmann
- Lisensi
- MIT
- Ukuran
- 24 × 24
- Tag
- openline
Kode SVG
<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="2" d="M10 4H6a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4m-8-2l8-8m0 0v5m0-5h-5"/></svg>Cara memakai ikon Open Line
React
import { Icon } from "@iconify/react";
<Icon icon="majesticons:open-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="majesticons:open-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="majesticons:open-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[majesticons--open-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/majesticons -->
<div class="i-majesticons:open-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="majesticons:open-line"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/majesticons/open-line.svg" alt="Ikon Open Line" width="24" height="24">Ikon terkait di Majesticons
FAQ Ikon Open Line
Apakah ikon Open Line gratis untuk penggunaan komersial?
Ya. Majesticons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Open Line di React?
Pasang @iconify/react lalu render <Icon icon="majesticons:open-line" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Open Line ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/majesticons/open-line.svg" alt="Ikon Open Line">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.