Ikon Smartphone
dashicons:smartphone
Ikon Smartphone (dashicons:smartphone) adalah ikon SVG gratis dari set Dashicons karya WordPress. Ikon ini digambar pada grid 20 × 20. Dashicons dirilis di bawah lisensi GPL, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial; versi file ikon yang dimodifikasi harus tetap memakai lisensi yang sama. Salin sebagai kode SVG, JSX, Vue, atau Svelte, atau unduh file SVG-nya.
- Set ikon
- Dashicons
- Pembuat
- WordPress
- Lisensi
- GPL-2.0-or-later
- Ukuran
- 20 × 20
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M6 2h8c.55 0 1 .45 1 1v14c0 .55-.45 1-1 1H6c-.55 0-1-.45-1-1V3c0-.55.45-1 1-1m7 12V4H7v10zM8 5h4l-4 5z"/></svg>Cara memakai ikon Smartphone
React
import { Icon } from "@iconify/react";
<Icon icon="dashicons:smartphone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="dashicons:smartphone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="dashicons:smartphone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[dashicons--smartphone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/dashicons -->
<div class="i-dashicons:smartphone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="dashicons:smartphone"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/dashicons/smartphone.svg" alt="Ikon Smartphone" width="24" height="24">Ikon Smartphone di set ikon lain
FAQ Ikon Smartphone
Apakah ikon Smartphone gratis untuk penggunaan komersial?
Ya. Dashicons dirilis di bawah lisensi GPL, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial; versi file ikon yang dimodifikasi harus tetap memakai lisensi yang sama.
Bagaimana cara memakai ikon Smartphone di React?
Pasang @iconify/react lalu render <Icon icon="dashicons:smartphone" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Smartphone ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/dashicons/smartphone.svg" alt="Ikon Smartphone">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.