Ikon Warning
material-symbols:warning
Ikon Warning (material-symbols:warning) adalah ikon SVG gratis dari set Material Symbols karya Google. Ikon ini digambar pada grid 24 × 24. Material Symbols icons dirilis di bawah lisensi Apache 2.0, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial. Salin sebagai kode SVG, JSX, Vue, atau Svelte, atau unduh file SVG-nya.
- Set ikon
- Material Symbols
- Pembuat
- Lisensi
- Apache-2.0
- Ukuran
- 24 × 24
- Tag
- !, alert, attention, caution, danger, error, exclamation, important, mark, notification, symbol, triangle
Kode SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M1 21L12 2l11 19zm11.713-3.287Q13 17.425 13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18t.713-.288M11 15h2v-5h-2z"/></svg>Cara memakai ikon Warning
React
import { Icon } from "@iconify/react";
<Icon icon="material-symbols:warning" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="material-symbols:warning" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="material-symbols:warning" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[material-symbols--warning]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/material-symbols -->
<div class="i-material-symbols:warning"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="material-symbols:warning"></iconify-icon>Gambar HTML
<img src="https://iconyz.com/api/public/svg/material-symbols/warning.svg" alt="Ikon Warning" width="24" height="24">Ikon terkait di Material Symbols
Ikon Warning di set ikon lain
FAQ Ikon Warning
Apakah ikon Warning gratis untuk penggunaan komersial?
Ya. Material Symbols icons dirilis di bawah lisensi Apache 2.0, yang mengizinkan penggunaan dalam proyek pribadi maupun komersial.
Bagaimana cara memakai ikon Warning di React?
Pasang @iconify/react lalu render <Icon icon="material-symbols:warning" />, atau gunakan “Salin kode” di halaman ini untuk mendapatkan komponen React mandiri.
Bagaimana cara menambahkan ikon Warning ke halaman web?
Tautkan file SVG di tag gambar: <img src="https://iconyz.com/api/public/svg/material-symbols/warning.svg" alt="Ikon Warning">, atau tempel kode SVG langsung di halaman untuk menatanya dengan CSS.