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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="IconPark.Blazor" Version="1.3.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IconPark.Blazor --version 1.3.0.3                
#r "nuget: IconPark.Blazor, 1.3.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

Nuget (with prereleases)

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

  1. install IconPark.Blazor

  2. @using IconPark

  3. import csss file:

    <link href="_content/IconPark.Blazor/dist/index.css" rel="stylesheet" />
    
  4. 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0.3 369 3/26/2023
1.3.0.2 263 10/10/2022
1.3.0.1 265 10/10/2022

Sync to IconPark v1.3.0, but with System icon component is renamed to SystemIcon.