IconPark.Blazor 1.3.0.3

.NET 6.0
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 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
Compatible target framework(s)
Additional computed target framework(s)
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 62 3/26/2023
1.3.0.2 121 10/10/2022
1.3.0.1 113 10/10/2022

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