Class FeatherIcon
An SVG icon from https://feathericons.com/.
public class FeatherIcon : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
- Inheritance
-
FeatherIcon
- Implements
- Inherited Members
Remarks
Icon names are references to a sprite atlas at _content/Instagile.Web.Client/feather/dist/feather-sprite.svg.
Will be styled appropriately if used inside a button or link.
Properties
Level
Optional colour scheme.
[Parameter]
public MessageLevel? Level { get; set; }
Property Value
Name
An icon identifier from https://feathericons.com/.
[Parameter]
[EditorRequired]
public required string Name { get; set; }
Property Value
Splat
Extra attributes for the underlying <svg> tag.
[Parameter(CaptureUnmatchedValues = true)]
public Dictionary<string, object>? Splat { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder