# Ionicons
[Ionicons](http://ionicons.com/) is a completely open-source icon set with 1,100+ icons crafted for web, iOS, Android, and desktop apps. Ionicons was built for [Ionic Framework](https://ionicframework.com/), so icons have both Material Design and iOS versions.
Note: All brand icons are trademarks of their respective owners. The use of these trademarks does not indicate endorsement of the trademark holder by Ionic, nor vice versa.
We intend for this icon pack to be used with [Ionic](http://ionicframework.com/), but it’s by no means limited to it. Use them wherever you see fit, personal or commercial. They are free to use and licensed under [MIT](http://opensource.org/licenses/MIT).
## Contributing
Thanks for your interest in contributing! Read up on our guidelines for
[contributing](https://github.com/ionic-team/ionicons/blob/master/.github/CONTRIBUTING.md)
and then look through our issues with a [help wanted](https://github.com/ionic-team/ionicons/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)
label.
## Using the Web Component
The Ionicons Web Component is an easy and performant way to use Ionicons in your app. The component will dynamically load an SVG for each icon, so your app is only requesting the icons that you need.
Also note that only visible icons are loaded, and icons which are "below the fold" and hidden from the user's view do not make fetch requests for the svg resource.
### Installation
If you're using [Ionic Framework](https://ionicframework.com/), Ionicons is packaged by default, so no installation is necessary. Want to use Ionicons without Ionic Framework? Place the following `<script>` near the end of your page, right before the closing </body> tag, to enable them.
```html
<script src="https://unpkg.com/ionicons@5.0.0/dist/ionicons.js"></script>
```
### Basic usage
To use a built-in icon from the Ionicons package, populate the `name` attribute on the ion-icon component:
```html
<ion-icon name="heart"></ion-icon>
```
### Custom icons
To use a custom SVG, provide its url in the `src` attribute to request the external SVG file. The `src` attribute works the same as `<img src="...">` in that the url must be accessible from the webpage that's making a request for the image. Additionally, the external file can only be a valid svg and does not allow scripts or events within the svg element.
```html
<ion-icon src="/path/to/external/file.svg"></ion-icon>
```
## Variants
Each app icon in Ionicons has a `filled`, `outline` and `sharp` variant. These different variants are provided to make your app feel native to a variety of platforms. The filled variant uses the default name without a suffix. Note: Logo icons do not have outline or sharp variants.
```html
<ion-icon name="heart"></ion-icon> <!--filled-->
<ion-icon name="heart-outline"></ion-icon> <!--outline-->
<ion-icon name="heart-sharp"></ion-icon> <!--sharp-->
```
### Platform specificity
When using icons in Ionic Framework you can specify different icons per platform. Use the `md` and `ios` attributes and provide the platform specific icon/variant name.
```html
<ion-icon ios="heart-outline" md="heart-sharp"></ion-icon>
```
## Size
To specify the icon size, you can use the size attribute for our pre-defined font sizes.
```html
<ion-icon size="small"></ion-icon>
<ion-icon size="large"></ion-icon>
```
Or you can set a specific size by applying the `font-size` CSS property on the `ion-icon` component. It's recommended to use pixel sizes that are a multiple of 8 (8, 16, 32, 64, etc.)
```css
ion-icon {
font-size: 64px;
}
```
## Color
Specify the icon color by applying the `color` CSS property on the `ion-icon` component.
```css
ion-icon {
color: blue;
}
```
## Stroke width
When using an `outline` icon variant it is possible to adjust the stroke width, for improved visual balance relative to the icon's size or relative to the width of adjacent text. You can set a specific size by applying the `--ionicon-stroke-width` CSS custom property to the `ion-icon` component. The default value is 32px.
```html
<ion-icon name="heart-outline"></ion-icon>
```
```css
ion-icon {
--ionicon-stroke-width: 16px;
}
```
## Migrating from v4
See the [changelog](https://github.com/ionic-team/ionicons/blob/master/CHANGELOG.md#500-2020-01-15) for a list of icon deletions/renames.
## License
Ionicons is licensed under the [MIT license](http://opensource.org/licenses/MIT).
## Related
* [Ionicons Homepage](http://ionicons.com/)
* [Ionic Framework](https://ionicframework.com/)
* [Ionic Worldwide Slack](http://ionicworldwide.herokuapp.com/)
* [Ionic Forum](https://forum.ionicframework.com/)
* [Stencil](https://stenciljs.com/)
* [Stencil Worldwide Slack](https://stencil-worldwide.slack.com)
没有合适的资源?快使用搜索试试~ 我知道了~
Ionicons开源图标集合 v5.2.3
共2045个文件
svg:2008个
ts:11个
json:6个
10 下载量 9 浏览量
2020-11-02
18:53:24
上传
评论
收藏 1.43MB ZIP 举报
温馨提示
为您提供Ionicons开源图标集合下载,Ionicons是一个完全开源的图标集,其中包含1100多个图标,这些图标是专为Web,iOS,Android和桌面应用程序而设计的。Ionicons是为Ionic Framework构建的,因此图标同时具有Material Design和iOS版本。我们打算将此图标包与Ionic一起使用,但绝不仅限于此。无论您是个人还是商业用户,都可以在合适的地方使用它们。它们是使用的,并根据MIT许可。注
资源推荐
资源详情
资源评论
收起资源包目录
Ionicons开源图标集合 v5.2.3 (2045个子文件)
ionicons.min.css 44KB
icon.css 2KB
ionicons.eot 110KB
.gitignore 176B
.gitignore 155B
下载说明.htm 3KB
index.html 6KB
cheatsheet-template.html 753B
package-lock.json 383KB
data.json 160KB
package.json 2KB
tsconfig.json 489B
.prettierrc.json 267B
tsconfig.json 108B
LICENSE 1KB
readme.md 5KB
readme.md 4KB
CONTRIBUTING.md 4KB
readme.md 1KB
CODE_OF_CONDUCT.md 1KB
ionicons.svg 305KB
logo-tux.svg 5KB
people-circle.svg 4KB
earth-outline.svg 4KB
cog.svg 4KB
logo-sass.svg 3KB
ios-baseball.svg 3KB
cog-sharp.svg 3KB
globe.svg 3KB
logo-sass.svg 3KB
ios-finger-print.svg 3KB
logo-react.svg 3KB
cog-outline.svg 3KB
ios-cog.svg 3KB
ios-flower.svg 3KB
logo-tux.svg 3KB
earth-sharp.svg 3KB
finger-print.svg 2KB
finger-print-sharp.svg 2KB
earth.svg 2KB
logo-snapchat.svg 2KB
logo-electron.svg 2KB
baseball.svg 2KB
flower-outline.svg 2KB
md-finger-print.svg 2KB
logo-soundcloud.svg 2KB
finger-print-outline.svg 2KB
battery-charging.svg 2KB
battery-charging-outline.svg 2KB
ios-snow.svg 2KB
logo-model-s.svg 2KB
logo-ionitron.svg 2KB
bonfire.svg 2KB
business-outline.svg 2KB
car-sport.svg 2KB
construct-outline.svg 2KB
md-globe.svg 2KB
hardware-chip-outline.svg 2KB
ios-watch.svg 2KB
thumbs-up.svg 2KB
car-sport-outline.svg 2KB
thumbs-down.svg 2KB
logo-reddit.svg 2KB
football-outline.svg 2KB
mail-unread.svg 2KB
logo-laravel.svg 2KB
logo-usd.svg 2KB
bonfire-outline.svg 2KB
ios-ice-cream.svg 2KB
logo-ionitron.svg 2KB
baseball-sharp.svg 2KB
ios-radio.svg 2KB
logo-skype.svg 2KB
logo-no-smoking.svg 2KB
ios-color-filter.svg 2KB
ios-bug.svg 2KB
logo-octocat.svg 2KB
paw.svg 2KB
logo-docker.svg 2KB
baseball-outline.svg 2KB
mail-unread-sharp.svg 2KB
ios-construct.svg 2KB
logo-nodejs.svg 2KB
construct.svg 2KB
md-beer.svg 2KB
bonfire-sharp.svg 2KB
ios-clock.svg 2KB
md-baseball.svg 2KB
paw-outline.svg 2KB
color-filter.svg 2KB
logo-codepen.svg 2KB
logo-no-smoking.svg 2KB
bus-outline.svg 2KB
film-outline.svg 2KB
server.svg 2KB
ios-link.svg 2KB
ios-american-football.svg 2KB
snow.svg 2KB
logo-skype.svg 2KB
logo-closed-captioning.svg 2KB
共 2045 条
- 1
- 2
- 3
- 4
- 5
- 6
- 21
资源评论
weixin_38679178
- 粉丝: 4
- 资源: 919
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 各省-恩格尔系数、泰尔指数(2000-2022年).zip
- labview双按钮和三按钮计时对话框
- Dev-C++ 软件安装教程
- 理光Ricoh MP C4504打印机驱动下载
- 编译器KEIL5-STM32-KEIL5护眼模式(绿豆沙色)global.prop
- lenovo-SR650-BIOS 4.11-BMC 9.80
- 智慧医院综合管理解决方案(医院综合监控中心).docx
- Python编程入门指南:背景知识与环境搭建
- 毕业设计《Python基于Opencv和SVM机器学习算法和百度AI平台车牌识别系统》+项目源码+文档说明+演示视频
- 基于 Vue 和 SpringBoot 的大病保险管理系统源代码+数据库+文档,模拟了就医和医保报销的过程
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功