IconPark.Blazor
1.3.0.3
dotnet add package IconPark.Blazor --version 1.3.0.3
NuGet\Install-Package IconPark.Blazor -Version 1.3.0.3
<PackageReference Include="IconPark.Blazor" Version="1.3.0.3" />
paket add IconPark.Blazor --version 1.3.0.3
#r "nuget: IconPark.Blazor, 1.3.0.3"
// Install IconPark.Blazor as a Cake Addin
#addin nuget:?package=IconPark.Blazor&version=1.3.0.3
// Install IconPark.Blazor as a Cake Tool
#tool nuget:?package=IconPark.Blazor&version=1.3.0.3
Introduction
ByteDance IconPark icon library in Blazor.
source repository: https://github.com/bytedance/iconpark
project website:https://iconpark.oceanengine.com/home
note:IconPark System component is renamed to SystemIcon
Usage
install IconPark.Blazor
@using IconPark
import csss file:
<link href="_content/IconPark.Blazor/dist/index.css" rel="stylesheet" />
Search for the icon you need on https://iconpark.oceanengine.com/official, and modify the name of the icon using the Pascal specification.
camera --> <Camera /> <Camera Size="24"/> all-application --> <AllApplication /> system --> <SystemIcon />
note:IconPark System component is renamed to SystemIcon
Api
Property | Type | Description | Default value |
---|---|---|---|
Theme | ThemeType(enum) | theme | ThemeType.Outline |
Size | int or string | width and height | 1em |
StrokeWidth | int | svg stroke-width | 4 |
Fill | List<string> | svg fill | It depends on the theme. |
StrokeLinecap | StrokeLinecapType(enum) | svg stroke-linecap. Not all icons SVG have this attribute. | StrokeLinecapType.Round |
StrokeLinejoin | StrokeLinejoinType(enum) | svg stroke-linejoin. Not all icons SVG have this attribute. | StrokeLinejoinType.Round |
Product | Versions |
---|---|
.NET | net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
-
net6.0
- Microsoft.AspNetCore.Components.Web (>= 6.0.9)
- OneOf (>= 3.0.223)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Sync to IconPark v1.3.0, but with System icon component is renamed to SystemIcon.