Blazorise Badge API

Explore the Blazorise Badge API reference for parameters, events, methods, and related types.

For examples and usage guidance, see the Badge documentation.

API

Parameters

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Badge.
ColorColor.DefaultColor

Specifies the contextual or explicit CSS color applied to the badge's background and text.
IntentnullIntent

Specifies the contextual intent applied to the badge's background and text.
Link—string

Converts the badge into a clickable link, adding hover and focus interaction states.
Pillfalsebool

Renders the badge with fully rounded corners, giving it a pill-shaped appearance.
Subtlefalsebool

Enables a softer, subtle version of the current Color, providing a lighter visual style.

Events

EventType
CloseClickedEventCallback

Occurs on close button click.
On this page