Ikon Switch
tabler:switch
Ikon Switch (tabler:switch) adalah ikon SVG gratis dari set Tabler Icons karya Paweł Kuna. Ikon ini digambar pada grid 24 × 24. Tabler Icons 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
- Tabler Icons
- Pembuat
- Paweł Kuna
- Lisensi
- MIT
- Ukuran
- 24 × 24
- Tag
- toggle, arrows, navigation, flow, movement, route, path
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="M15 4h4v4m-4.25 1.25L19 4M5 19l4-4m6 4h4v-4M5 5l14 14"/></svg>Cara memakai ikon Switch
React
import { Icon } from "@iconify/react";
<Icon icon="tabler:switch" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="tabler:switch" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="tabler:switch" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[tabler--switch]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/tabler -->
<div class="i-tabler:switch"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="tabler:switch"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/tabler/switch.svg" alt="Ikon Switch" width="24" height="24">Ikon terkait di Tabler Icons
Ikon Switch di set ikon lain
FAQ Ikon Switch
Apakah ikon Switch gratis untuk penggunaan komersial?
Ya. Tabler Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Switch di React?
Pasang @iconify/react lalu render <Icon icon="tabler:switch" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Switch ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/tabler/switch.svg" alt="Ikon Switch">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.