IconPark.Xaml
1.3.1
dotnet add package IconPark.Xaml --version 1.3.1
NuGet\Install-Package IconPark.Xaml -Version 1.3.1
<PackageReference Include="IconPark.Xaml" Version="1.3.1" />
paket add IconPark.Xaml --version 1.3.1
#r "nuget: IconPark.Xaml, 1.3.1"
// Install IconPark.Xaml as a Cake Addin #addin nuget:?package=IconPark.Xaml&version=1.3.1 // Install IconPark.Xaml as a Cake Tool #tool nuget:?package=IconPark.Xaml&version=1.3.1
IconPark
<div align="center"> <a href="http://iconpark.bytedance.com/official"> <img src="https://sf1-dycdn-tos.pstatp.com/obj/eden-cn/lswwheh7nupwnuhog/icons/logo.svg" width="384" height="96"> </a> </div>
介绍
IconPark提供了超过2000个高质量图标,并且提供了一个界面来帮你定制图标。我非常喜欢这套图标,于是我开发了适用于WPF的版本,目前只支持线性图标,但也已满足了我的需求,至于原IconPark图标所含有的主题切换技术,这个库还没有实现,甚至还有十几个图标未转换成功而不能使用。如果您也喜欢这套图标而懒于自己实现,可以在您的项目中试试IconPark.Xaml.
如何使用
安装
可以在NuGet管理器中搜索 IconPark.Xaml,也可以执行命令直接安装
install-package IconPark.Xaml
使用
在您的程序中使用 IconPark.Xaml 需要增加命名空间
xmlns:IconPark="https://iconpark.oceanengine.com"
在需要使用Icon的位置写入代码,例如:
<IconPark:Icon Kind="List"/>
便捷操作
你可以应用在 Figma, Sketch, Photoshop, PPT等等场景里,这里有一些快捷操作:
- 复制XMAL源码
- 复制SVG源码
- 复制React图标代码组件
- 复制Vue图标代码组件
<img src="./snapshot/2.jpg" width="200px"></img>
关于未实现的图标
此库主要关注于线性图标,有一些图标的svg代码过于复杂而未转化成功是我能力不足,目前只能先将这些图标移除,待日后找到解决方案后再添加,具体有多少图标被移除,请看未实现的图标
感谢
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net5.0-windows7.0 is compatible. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net6.0-windows7.0 is compatible. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.0 is compatible. netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.0
- No dependencies.
-
.NETCoreApp 3.1
- No dependencies.
-
net5.0-windows7.0
- No dependencies.
-
net6.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.