Icône Light Dark
line-md:light-dark
L'icône Light Dark (line-md:light-dark) est une icône SVG gratuite de la collection Material Line Icons par Vjacheslav Trushkin. Elle est dessinée sur une grille de 24 × 24. Les Material Line Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux. Copiez-la en code SVG, JSX, Vue ou Svelte, ou téléchargez le fichier SVG.
- Collection
- Material Line Icons
- Auteur
- Vjacheslav Trushkin
- Licence
- MIT
- Taille
- 24 × 24
- Catégorie
- Interface
- Mots-clés
- lightdark
Code SVG
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><mask id="SVGPWNvGc7L"><circle cx="7.5" cy="7.5" r="5.5" fill="#fff"/><circle cx="11" cy="7.5" r="6.5"><animate fill="freeze" attributeName="cx" dur="0.4s" values="7.5;11"/><animate fill="freeze" attributeName="r" dur="0.4s" values="5.5;6.5"/></circle></mask><mask id="SVGOgqevdhu"><g fill="#fff"><circle cx="12" cy="9" r="5.5" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="cy" begin="0.9s" dur="0.5s" to="15"/></circle><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-120 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-70 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(-20 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path><path d="M12.62 20.62h3l-1.5 2.5Z" opacity="0" transform="rotate(30 14.12 14.12)"><set fill="freeze" attributeName="opacity" begin="1.4s" to="1"/><animate fill="freeze" attributeName="d" begin="1.4s" dur="0.4s" values="M13.12 17.12h2l-1 2Z;M12.62 20.62h3l-1.5 2.5Z"/></path></g><path d="M-4.97 12l18.38 -18.38l10.61 10.61l-18.38 18.38Z"/></mask></defs><g fill="currentColor"><path d="M0 0h24v24H0z" mask="url(#SVGPWNvGc7L)"/><path d="M0 0h24v24H0z" mask="url(#SVGOgqevdhu)"/></g><path fill="none" stroke="currentColor" stroke-dasharray="24" stroke-dashoffset="24" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M23 12h-22" transform="rotate(-45 12 12)"><animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.3s" to="0"/></path></svg>Comment utiliser l'icône Light Dark
React
import { Icon } from "@iconify/react";
<Icon icon="line-md:light-dark" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="line-md:light-dark" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="line-md:light-dark" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[line-md--light-dark]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/line-md -->
<div class="i-line-md:light-dark"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="line-md:light-dark"></iconify-icon>Image HTML
<img src="https://iconyz.com/api/public/svg/line-md/light-dark.svg" alt="Icône Light Dark" width="24" height="24">Icônes similaires dans Material Line Icons
L'icône Light Dark dans d'autres collections
FAQ : Icône Light Dark
L'icône Light Dark est-elle gratuite pour un usage commercial ?
Oui. Les Material Line Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Light Dark dans React ?
Installez @iconify/react et affichez <Icon icon="line-md:light-dark" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Light Dark à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/line-md/light-dark.svg" alt="Icône Light Dark">, ou collez le code SVG directement dans la page pour le styliser en CSS.