Light Dark アイコン
line-md:light-dark
Light Dark アイコン(line-md:light-dark)は、Material Line Icons セットの無料 SVG アイコンです(作者: Vjacheslav Trushkin)。 24 × 24 のグリッドで描かれています。 Material Line Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。 SVG・JSX・Vue・Svelte のコードとしてコピーするか、SVG ファイルをダウンロードできます。
- アイコンセット
- Material Line Icons
- 作者
- Vjacheslav Trushkin
- ライセンス
- MIT
- サイズ
- 24 × 24
- カテゴリ
- インターフェース
- タグ
- lightdark
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>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 コンポーネント
<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>HTML 画像
<img src="https://iconyz.com/api/public/svg/line-md/light-dark.svg" alt="Light Dark アイコン" width="24" height="24">Material Line Icons の関連アイコン
他のアイコンセットの Light Dark アイコン
Light Dark アイコン のよくある質問
Light Dark アイコンは商用利用でも無料ですか?
はい。Material Line Icons は MIT ライセンス で公開されており、個人・商用プロジェクトで利用できます。
React で Light Dark アイコンを使うには?
@iconify/react をインストールして <Icon icon="line-md:light-dark" /> を描画するか、このページの「コードをコピー」で単体の React コンポーネントを取得します。
Light Dark アイコンをウェブページに追加するには?
画像タグで SVG ファイルを読み込みます: <img src="https://iconyz.com/api/public/svg/line-md/light-dark.svg" alt="Light Dark アイコン">。CSS でスタイルを付けたい場合は SVG コードをページに直接貼り付けます。