Scripts2026年7月6日·1 分钟阅读

Material Design Icons — Google's Open Source Icon Set for Any Platform

A comprehensive open-source icon library by Google offering thousands of icons in five styles, available as SVGs, web fonts, and native components for Android, iOS, Flutter, and web projects.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Material Design Icons
直接安装命令
npx -y tokrepo@latest install e4a76fb5-7936-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Material Design Icons is Google's official icon library built for the Material Design system. It provides a consistent visual language across platforms and applications, with icons covering common actions, navigation, content types, and communication patterns.

What Material Design Icons Does

  • Provides 2,000+ icons covering common UI actions and concepts
  • Offers five distinct styles: Filled, Outlined, Rounded, Sharp, and Two-Tone
  • Ships as SVG files, web fonts, and platform-native resources
  • Integrates with Android, iOS, Flutter, and web frameworks out of the box
  • Follows Material Design guidelines for consistent sizing and optical alignment

Architecture Overview

The repository contains icon sources organized by category and style variant. Each icon is available as an SVG master file from which platform-specific assets are generated. Web font builds package glyphs into WOFF2/WOFF files with accompanying CSS classes. Android and iOS resource directories provide density-specific PNGs and vector drawables.

Self-Hosting & Configuration

  • Install via npm, Bower, or download the release archive directly
  • For web: include the CSS file and reference icons by ligature name or codepoint
  • For Android: copy drawable resources or use the Maven dependency
  • For Flutter: icons are bundled in the material library by default
  • Custom builds can be created by selecting only the icons your project needs

Key Features

  • Five style variants per icon for design flexibility
  • Variable icon font support with adjustable weight, grade, and optical size
  • Pixel-perfect alignment at standard sizes (18, 24, 36, 48 dp)
  • Apache 2.0 license allows commercial use without attribution
  • Active maintenance with new icons added in each Material Design update

Comparison with Similar Tools

  • Font Awesome — broader general-purpose set with brand icons; Material focuses on UI actions
  • Lucide — community fork of Feather with consistent stroke style; smaller set but very cohesive
  • Tabler Icons — MIT-licensed stroke icons with consistent 24x24 grid; lighter weight
  • Heroicons — Tailwind-aligned set by the Tailwind team; smaller but tightly curated
  • Phosphor Icons — flexible weight system similar to variable fonts; six weights per icon

FAQ

Q: Can I use these icons in a commercial product? A: Yes. They are released under the Apache 2.0 license, which permits commercial use, modification, and redistribution.

Q: How do I use variable icon fonts? A: Load the variable font CSS from Google Fonts and set font-variation-settings for weight, fill, grade, and optical size on the icon element.

Q: Are the icons accessible? A: You should add aria-label or title attributes when icons convey meaning. Decorative icons should use aria-hidden="true".

Q: How often are new icons added? A: Google updates the set alongside Material Design releases, typically adding dozens of new icons per update.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产