Skip to content
@BlazorOcticons

BlazorOcticons

BlazorOcticons is an easy-to-use GitHub Octicons built as customizable .razor components

Backup Status .NET GitHub Nuget (with prereleases)

BlazorOcticons

BlazorOcticons is an easy-to-use GitHub Octicons built as customizable .razor components.

NuGet Package Description
BlazorOcticons Main package which contains only .razor components
BlazorOcticonsGenerator Helper package which contains Source Generator for Octicons

Installation

  1. Install the BlazorOcticons NuGet package:
dotnet add package BlazorOcticons
  1. In the _Imports.razor file add @using BlazorOcticons.Octicons:
@using System.Net.Http
@using System.Net.Http.Json
...
@using Microsoft.AspNetCore.Components
@using Microsoft.JSInterop
@using BlazorOcticons.Octicons
  1. That's it! Now you can use the components in your project.

Usage

Inside your code, use any of GitHub Octicons as .razor components:

<div class="p-3">
  ...
  <MarkGithub16 Color="#702AF7" Size="48"/>
  ...
</div>

Contribute

All contributions are welcome! Feel free to raise any issues (bugs or feature requests), submit pull requests, etc.

Pinned

  1. BlazorOcticons BlazorOcticons Public

    BlazorOcticons is an easy-to-use GitHub Octicons built as customizable .razor components

    HTML 15

  2. web web Public

    HTML 2

Repositories

Showing 4 of 4 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…