Blazorise Card API

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

For examples and usage guidance, see the Card documentation.

API

Parameters

Card

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this Card.

RenderFragmentnull
WhiteText

Sets the white text when using the darker background.

boolfalse

CardText

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this component.

RenderFragmentnull
CopyToClipboard

If true, the content of the component will be copied to clipboard on click event.

boolfalse
Italic

Italicize text if set to true.

boolfalse

CardTitle

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this component.

RenderFragmentnull
CopyToClipboard

If true, the content of the component will be copied to clipboard on click event.

boolfalse
Italic

Italicize text if set to true.

boolfalse
Size

Specifies the title size where the smaller number means larger text.

HeadingSize?null

CardSubtitle

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this component.

RenderFragmentnull
CopyToClipboard

If true, the content of the component will be copied to clipboard on click event.

boolfalse
Italic

Italicize text if set to true.

boolfalse
Size

Specifies the subtitle size where the smaller number means larger text. Defaults to Is6.

HeadingSize?5

CardLink

Parameter Description TypeDefault
ChildContent

Specifies the content to be rendered inside this Link.

RenderFragmentnull
Disabled

Makes the link look inactive by adding the disabled boolean attribute.

boolfalse
Match

URL matching behavior for a link.

Possible values:Prefix, All

MatchMatch.Prefix
Stretched

Makes any HTML element or component clickable by “stretching” a nested link.

boolfalse
TabIndex

Specifies whether the link element can be focused and where it participates in sequential keyboard navigation.

int?null
Target

The target attribute specifies where to open the linked document.

TargetTarget.Default
Title

Specify extra information about the element.

string
To

Denotes the target route of the link.

string
Unstyled

Removes default color styles from the link.

boolfalse

CardImage

Parameter Description TypeDefault
Alt

Alternative image text.

string
ChildContent

Specifies the content to be rendered inside this CardImage.

RenderFragmentnull
FallbackSource

The fallback image that will be displayed if image loading fails.

string
Source

Image url.

string

Events

CardLink

Event Description Type
Clicked

Notifies when the link is clicked.

EventCallback<MouseEventArgs>
CustomMatch

A callback function that is used to compare current uri with the user defined uri. If defined, the Match parameter will be ignored.

Func<string, bool>
On this page