material-icons vs feather-icons vs heroicons vs line-awesome vs bootstrap-icons vs font-awesome vs ionicons
ウェブアイコンライブラリ
material-iconsfeather-iconsheroiconsline-awesomebootstrap-iconsfont-awesomeionicons類似パッケージ:

ウェブアイコンライブラリ

ウェブアイコンライブラリは、ウェブサイトやアプリケーションに視覚的な要素を追加するためのアイコンのセットを提供します。これらのライブラリは、デザインの一貫性を保ちながら、開発者が迅速にアイコンを実装できるように設計されています。アイコンは、ユーザーインターフェースのナビゲーションや機能を強化し、視覚的な魅力を向上させるために使用されます。

npmのダウンロードトレンド

3 年

GitHub Starsランキング

統計詳細

パッケージ
ダウンロード数
Stars
サイズ
Issues
公開日時
ライセンス
material-icons268,3783602.23 MB131年前Apache-2.0
feather-icons156,16825,831625 kB5082年前MIT
heroicons68,46623,373700 kB21年前MIT
line-awesome40,3111,297-476年前MIT
bootstrap-icons07,9202.99 MB47010ヶ月前MIT
font-awesome076,382-3159年前(OFL-1.1 AND MIT)
ionicons017,9966.22 MB638ヶ月前MIT

機能比較: material-icons vs feather-icons vs heroicons vs line-awesome vs bootstrap-icons vs font-awesome vs ionicons

デザインスタイル

  • material-icons:

    Material Iconsは、GoogleのMaterial Designガイドラインに従ったアイコンを提供し、視覚的な一貫性を保つことができます。

  • feather-icons:

    Feather Iconsは、軽量でスリムなデザインが特徴で、シンプルさを重視しています。

  • heroicons:

    Heroiconsは、Tailwind CSSに最適化された美しいアイコンを提供し、洗練されたデザインが特徴です。

  • line-awesome:

    Line Awesomeは、ラインスタイルのアイコンを提供し、クリーンでミニマリストなデザインを求める開発者に最適です。

  • bootstrap-icons:

    Bootstrap Iconsは、Bootstrapフレームワークに合わせたシンプルでモダンなデザインスタイルを持っています。

  • font-awesome:

    Font Awesomeは、さまざまなスタイル(ソリッド、アウトライン、ブランディングなど)を提供し、デザインの柔軟性を高めています。

  • ionicons:

    Ioniconsは、モバイルアプリ向けに設計されており、特にタッチインターフェースに適したデザインです。

カスタマイズ性

  • material-icons:

    Material Iconsは、CSSでサイズや色を変更でき、簡単にカスタマイズできます。

  • feather-icons:

    Feather Iconsは、SVG形式で提供されるため、自由に色やサイズを変更でき、カスタマイズが容易です。

  • heroicons:

    Heroiconsは、SVG形式で提供され、カスタマイズが容易で、Tailwind CSSと簡単に統合できます。

  • line-awesome:

    Line Awesomeは、CSSで簡単にスタイルを変更でき、シンプルなカスタマイズが可能です。

  • bootstrap-icons:

    Bootstrap Iconsは、CSSを使用して簡単にカスタマイズでき、色やサイズを変更することができます。

  • font-awesome:

    Font Awesomeは、アイコンのサイズ、色、スタイルを簡単に変更できるため、高いカスタマイズ性を提供します。

  • ionicons:

    Ioniconsは、CSS変数を使用して色を変更でき、カスタマイズが簡単です。

アイコンの種類

  • material-icons:

    Material Iconsは、GoogleのMaterial Designに基づいた多様なアイコンを提供し、視覚的な一貫性を保つことができます。

  • feather-icons:

    Feather Iconsは、シンプルで直感的なアイコンを多数提供し、特に一般的な用途に適しています。

  • heroicons:

    Heroiconsは、特にUIデザインに適したアイコンを提供し、洗練された選択肢を提供します。

  • line-awesome:

    Line Awesomeは、ラインスタイルのアイコンを提供し、シンプルでクリーンなデザインを求める開発者に最適です。

  • bootstrap-icons:

    Bootstrap Iconsは、基本的なUI要素をカバーする多くのアイコンを提供しています。

  • font-awesome:

    Font Awesomeは、数千のアイコンを提供し、特にブランドやソーシャルメディアアイコンが豊富です。

  • ionicons:

    Ioniconsは、モバイルアプリ向けに特化したアイコンを多数提供し、特にタッチインターフェースに最適です。

パフォーマンス

  • material-icons:

    Material Iconsは、CDNを使用して簡単に読み込むことができ、パフォーマンスを最適化できます。

  • feather-icons:

    Feather Iconsは、SVG形式で提供されるため、軽量でパフォーマンスに優れています。

  • heroicons:

    Heroiconsは、SVG形式で提供され、パフォーマンスを向上させるために最適化されています。

  • line-awesome:

    Line Awesomeは、軽量であり、ページの読み込み速度に影響を与えません。

  • bootstrap-icons:

    Bootstrap Iconsは、軽量であり、ページの読み込み速度に影響を与えません。

  • font-awesome:

    Font Awesomeは、CDNを使用して簡単に読み込むことができ、パフォーマンスを最適化できます。

  • ionicons:

    Ioniconsは、モバイルデバイス向けに最適化されており、パフォーマンスを重視しています。

サポートとメンテナンス

  • material-icons:

    Material Iconsは、Googleによって提供されており、定期的に更新され、サポートが提供されています。

  • feather-icons:

    Feather Iconsは、オープンソースであり、コミュニティによるサポートがあります。

  • heroicons:

    Heroiconsは、Tailwind CSSの公式アイコンセットであり、定期的に更新されています。

  • line-awesome:

    Line Awesomeは、オープンソースであり、コミュニティによるサポートがあります。

  • bootstrap-icons:

    Bootstrap Iconsは、Bootstrapの公式アイコンセットであり、定期的に更新され、サポートが提供されています。

  • font-awesome:

    Font Awesomeは、広く使用されており、活発なコミュニティとサポートが存在します。

  • ionicons:

    Ioniconsは、活発な開発が行われており、定期的に新しいアイコンが追加されています。

選び方: material-icons vs feather-icons vs heroicons vs line-awesome vs bootstrap-icons vs font-awesome vs ionicons

  • material-icons:

    GoogleのMaterial Designを使用している場合、Material Iconsを選択することで、デザインの一貫性を保ちながらアイコンを簡単に統合できます。

  • feather-icons:

    軽量でシンプルなアイコンが必要な場合は、Feather Iconsを選択してください。カスタマイズが容易で、SVG形式で提供されるため、スケーラブルで高品質です。

  • heroicons:

    Tailwind CSSと統合する場合、Heroiconsを選択することで、デザインの一貫性を保ちながら美しいアイコンを使用できます。

  • line-awesome:

    シンプルでクリーンなデザインを求める場合、Line Awesomeを選択してください。特に、ラインスタイルのアイコンが必要な場合に適しています。

  • bootstrap-icons:

    Bootstrapフレームワークを使用している場合、Bootstrap Iconsを選択することで、デザインの一貫性を保ちながら簡単にアイコンを統合できます。

  • font-awesome:

    多様なアイコンセットと豊富な機能を求める場合は、Font Awesomeが最適です。特に、ブランドアイコンやソーシャルメディアアイコンが必要な場合に便利です。

  • ionicons:

    モバイルアプリケーション向けのアイコンが必要な場合、Ioniconsは特に適しています。特に、iOSやAndroidのデザインガイドラインに従ったアイコンが豊富です。

material-icons のREADME

material-icons Downloads

Latest icon fonts and CSS for self-hosting material design icons.

This package is automatically updated, so it will always have the latest icons from Google.

For Material Symbols, see material-symbols

For SVGs, see @material-design-icons/svg

Installation

Install the latest version using:

npm install material-icons@latest

Note: If you are upgrading from 0.x to 1.x see the 1.0.0 release notes.

Usage

Import in JS (example: src/index.js in Create React App, src/main.js in Vue CLI):

import 'material-icons/iconfont/material-icons.css';

or import in CSS (example: src/styles.css in Angular CLI):

@import 'material-icons/iconfont/material-icons.css';

or import in HTML:

<link href="/path/to/material-icons/iconfont/material-icons.css" rel="stylesheet">

To display an icon, use one of the following:

<span class="material-icons">pie_chart</span>          <!-- Filled -->
<span class="material-icons-outlined">pie_chart</span> <!-- Outlined -->
<span class="material-icons-round">pie_chart</span>    <!-- Round -->
<span class="material-icons-sharp">pie_chart</span>    <!-- Sharp -->
<span class="material-icons-two-tone">pie_chart</span> <!-- Two Tone -->

Reducing Build Size

The default material-icons.css includes CSS for all fonts. This may cause build tools such as webpack to copy all fonts to the build directory even if you are not using all of them. To reduce the build size, import only the styles you need. For example, if you only need filled and outlined icons, import filled.css and outlined.css instead of the default material-icons.css:

-import 'material-icons/iconfont/material-icons.css';
+import 'material-icons/iconfont/filled.css';
+import 'material-icons/iconfont/outlined.css';
Show all
IconsCSSSass
Filledfilled.cssfilled.scss
Outlinedoutlined.cssoutlined.scss
Roundround.cssround.scss
Sharpsharp.csssharp.scss
Two Tonetwo-tone.csstwo-tone.scss

Using Sass

Import in Sass (example: src/styles.scss in Angular CLI):

@import 'material-icons/iconfont/material-icons.scss';

Available Sass variables:

$material-icons-font-path: './' !default;
$material-icons-font-size: 24px !default;
$material-icons-font-display: block !default;

If you are getting errors with webpack or Vue CLI, add this line before importing:

$material-icons-font-path: '~material-icons/iconfont/';

Using Angular mat-icon

To display an icon, use one of the following:

<mat-icon>pie_chart</mat-icon>
<mat-icon fontSet="material-icons-outlined">pie_chart</mat-icon>
<mat-icon fontSet="material-icons-round">pie_chart</mat-icon>
<mat-icon fontSet="material-icons-sharp">pie_chart</mat-icon>
<mat-icon fontSet="material-icons-two-tone">pie_chart</mat-icon>

Using CSS Classes

Alternatively, you may use CSS classes instead of ligatures to display icons. Learn more

Available Icons

See demo.

License

Material design icons are created by Google.

We have made these icons available for you to incorporate into your products under the Apache License Version 2.0. Feel free to remix and re-share these icons and documentation in your products. We'd love attribution in your app's about screen, but it's not required.