Ikon Traffic Light
andrsrxn:traffic-light
Ikon Traffic Light (andrsrxn:traffic-light) adalah ikon SVG gratis dari set andrsrxn/icons karya Andrés Raxón. Ikon ini digambar pada grid 24 × 24. andrsrxn/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
- andrsrxn/icons
- Pembuat
- Andrés Raxón
- Lisensi
- MIT
- Ukuran
- 24 × 24
- Kategori
- Transportasi
- Tag
- trafficlight
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none"><path fill="currentColor" d="M16.74 6.53c0-1.88 0-2.82-.58-3.41c-.59-.59-1.53-.59-3.42-.59h-1.48c-1.89 0-2.83 0-3.42.59s-.58 1.53-.58 3.41v6.65c0 1.89 0 2.83.58 3.42c.59.58 1.53.58 3.42.58h1.48c1.89 0 2.83 0 3.42-.58c.58-.59.58-1.53.58-3.42zm-3.27.2a1.47 1.47 0 1 1-2.94 0a1.47 1.47 0 0 1 2.94 0m0 6.28a1.47 1.47 0 1 1-2.94 0a1.47 1.47 0 0 1 2.94 0" opacity=".2"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.3 6.27c-.23-2.08-.36-3.12.24-3.8c.6-.66 1.64-.66 3.74-.66h1.5c2.07 0 3.1 0 3.7.66s.49 1.69.28 3.75l-.34 3.23l-.03.4l.03.42l.34 3.23c.21 2.06.32 3.1-.28 3.75c-.6.66-1.63.66-3.7.66h-1.5c-2.1 0-3.14 0-3.74-.67s-.47-1.7-.23-3.8l.36-3.12c.03-.23.04-.34.04-.46s-.01-.23-.04-.46zM12 22.55V17.9"/><circle cx="12" cy="6.74" r="1.63" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><circle cx="12" cy="13.01" r="1.63" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M7.1 5.01c-1.68 0-2.51 0-2.81.42a1 1 0 0 0-.18.44c-.07.51.53 1.09 1.74 2.24l1.38 1.32m9.79-4.42c1.57 0 2.36 0 2.66.38a1 1 0 0 1 .21.54c.05.47-.52 1.02-1.66 2.1l-1.46 1.4m-9.92 2.53c-1.43 0-2.15 0-2.45.32a1 1 0 0 0-.27.68c0 .43.52.93 1.57 1.9l1.15 1.1m10.3-4c1.43 0 2.15 0 2.45.32a1 1 0 0 1 .27.68c0 .43-.52.93-1.57 1.9l-1.15 1.1"/></g></svg>Cara memakai ikon Traffic Light
React
import { Icon } from "@iconify/react";
<Icon icon="andrsrxn:traffic-light" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="andrsrxn:traffic-light" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="andrsrxn:traffic-light" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[andrsrxn--traffic-light]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/andrsrxn -->
<div class="i-andrsrxn:traffic-light"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="andrsrxn:traffic-light"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/andrsrxn/traffic-light.svg" alt="Ikon Traffic Light" width="24" height="24">Ikon terkait di andrsrxn/icons
Ikon Traffic Light di set ikon lain
FAQ Ikon Traffic Light
Apakah ikon Traffic Light gratis untuk penggunaan komersial?
Ya. andrsrxn/icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Traffic Light di React?
Pasang @iconify/react lalu render <Icon icon="andrsrxn:traffic-light" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Traffic Light ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/andrsrxn/traffic-light.svg" alt="Ikon Traffic Light">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.