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 Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. 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. |
-
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.