ICONYZ
Bahasa Indonesia
Ikon Traffic Light 20 dari Energy Icons

Ikon Traffic Light 20

energy-icons:traffic-light-20

Ikon Traffic Light 20 (energy-icons:traffic-light-20) adalah ikon SVG gratis dari set Energy Icons karya Sam Passmore. Ikon ini digambar pada grid 20 × 20. Energy 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
Energy Icons
Pembuat
Sam Passmore
Lisensi
MIT
Ukuran
20 × 20
Tag
trafficlight
Download SVG

Kode SVG

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M12.833 3.333c0-.644-.522-1.166-1.166-1.166H8.333c-.644 0-1.166.522-1.166 1.166v13.334c0 .644.522 1.166 1.166 1.166h3.334c.644 0 1.166-.522 1.166-1.166zm1 13.334c0 1.196-.97 2.166-2.166 2.166H8.333a2.166 2.166 0 0 1-2.166-2.166V3.333c0-1.196.97-2.166 2.166-2.166h3.334c1.196 0 2.166.97 2.166 2.166z"/><path fill="currentColor" d="M10.958 5.417a.959.959 0 1 0-1.917 0a.959.959 0 0 0 1.917 0m1 0a1.958 1.958 0 1 1-3.917 0a1.958 1.958 0 0 1 3.917 0m-1 4.583a.958.958 0 1 0-1.917 0a.958.958 0 0 0 1.917 0m1 0a1.958 1.958 0 1 1-3.917 0a1.958 1.958 0 0 1 3.917 0m-1 4.583a.958.958 0 1 0-1.917 0a.958.958 0 0 0 1.917 0m1 0a1.958 1.958 0 1 1-3.917.001a1.958 1.958 0 0 1 3.917-.001"/></svg>

Cara memakai ikon Traffic Light 20

React

import { Icon } from "@iconify/react";

<Icon icon="energy-icons:traffic-light-20" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="energy-icons:traffic-light-20" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="energy-icons:traffic-light-20" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--traffic-light-20]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:traffic-light-20"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="energy-icons:traffic-light-20"></iconify-icon>

Gambar HTML

<img src="https://iconyz.com/api/public/svg/energy-icons/traffic-light-20.svg" alt="Ikon Traffic Light 20" width="24" height="24">

Ikon terkait di Energy Icons

FAQ Ikon Traffic Light 20

Apakah ikon Traffic Light 20 gratis untuk penggunaan komersial?

Ya. Energy Icons dirilis di bawah lisensi MIT, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.

Bagaimana cara memakai ikon Traffic Light 20 di React?

Pasang @iconify/react lalu render <Icon icon="energy-icons:traffic-light-20" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.

Bagaimana cara menambahkan ikon Traffic Light 20 ke halaman web?

Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/energy-icons/traffic-light-20.svg" alt="Ikon Traffic Light 20">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.

Lihat semua Energy Icons →