Custom Post Type アイコン
gridicons:custom-post-type
Custom Post Type アイコン(gridicons:custom-post-type)は、Gridicons セットの無料 SVG アイコンです(作者: Automattic)。 24 × 24 のグリッドで描かれています。 Gridicons は GPL 2.0 ライセンス で公開されており、個人・商用プロジェクトで利用できます。ただし、アイコンファイルを改変した場合は同じライセンスを維持する必要があります。 SVG・JSX・Vue・Svelte のコードとしてコピーするか、SVG ファイルをダウンロードできます。
- アイコンセット
- Gridicons
- 作者
- Automattic
- ライセンス
- GPL-2.0-only
- サイズ
- 24 × 24
- タグ
- custompost、posttype、customposttype
SVG コード
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2M6 6h5v5H6zm4.5 13a2.5 2.5 0 1 1 0-5a2.5 2.5 0 0 1 0 5m3-6l3-5l3 5z"/></svg>Custom Post Type アイコンの使い方
React
import { Icon } from "@iconify/react";
<Icon icon="gridicons:custom-post-type" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="gridicons:custom-post-type" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="gridicons:custom-post-type" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[gridicons--custom-post-type]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/gridicons -->
<div class="i-gridicons:custom-post-type"></div>Web コンポーネント
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="gridicons:custom-post-type"></iconify-icon>HTML 画像
<img src="https://iconyz.com/api/public/svg/gridicons/custom-post-type.svg" alt="Custom Post Type アイコン" width="24" height="24">Gridicons の関連アイコン
他のアイコンセットの Custom Post Type アイコン
Custom Post Type アイコン のよくある質問
Custom Post Type アイコンは商用利用でも無料ですか?
はい。Gridicons は GPL 2.0 ライセンス で公開されており、個人・商用プロジェクトで利用できます。ただし、アイコンファイルを改変した場合は同じライセンスを維持する必要があります。
React で Custom Post Type アイコンを使うには?
@iconify/react をインストールして <Icon icon="gridicons:custom-post-type" /> を描画するか、このページの「コードをコピー」で単体の React コンポーネントを取得します。
Custom Post Type アイコンをウェブページに追加するには?
画像タグで SVG ファイルを読み込みます: <img src="https://iconyz.com/api/public/svg/gridicons/custom-post-type.svg" alt="Custom Post Type アイコン">。CSS でスタイルを付けたい場合は SVG コードをページに直接貼り付けます。