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

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Card.
WhiteTextfalsebool

Sets the white text when using the darker background.

CardText

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this component.
CopyToClipboardfalsebool

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

Italicize text if set to true.

CardTitle

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this component.
CopyToClipboardfalsebool

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

Italicize text if set to true.
SizenullHeadingSize?

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

CardSubtitle

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this component.
CopyToClipboardfalsebool

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

Italicize text if set to true.
SizeIs6HeadingSize?

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

CardLink

ParameterDefaultType
ChildContentnullRenderFragment

Specifies the content to be rendered inside this Link.
Disabledfalsebool

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

URL matching behavior for a link.
Possible values:PrefixAll
Stretchedfalsebool

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

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

The target attribute specifies where to open the linked document.
Title—string

Specify extra information about the element.
To—string

Denotes the target route of the link.
Unstyledfalsebool

Removes default color styles from the link.

CardImage

ParameterDefaultType
Alt—string

Alternate text for the image.
This parameter is retained for source compatibility. Use Text instead.
ChildContentnullRenderFragment

Specifies the content to be rendered inside this CardImage.
FallbackSource—string

The fallback image that will be displayed if image loading fails.
Source—string

Image url.
Text—string

Alternate text for the image.

Events

CardLink

EventType
ClickedEventCallback<MouseEventArgs>

Notifies when the link is clicked.
CustomMatchFunc<string, bool>

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