Fundamentals
Components
Code Utilities
Demo
BcRadioCard
Description
The `BcRadioCard` is a radio selection card that integrates with `BcRadioCardGroup`. It displays a radio button within an interactive card layout.
Attributes
Value
TItem?
The value associated with this radio card.
Title
string?
The main title displayed on the card.
SubTitle
string?
The subtitle displayed below the main title.
CardType
BcCardType
Defines the card type (`Default`, `Outlined`, etc.).
StatusColor
BcStatusColor
Sets the status color of the card.
DisplayLeft
bool
If true, displays the radio button on the left side; otherwise, on the right.
Methods
OnClick ( )
Toggles the selected state of the radio button when the card is clicked.
void
Sample
Options
Option 1
Select Value 1
Option 2
Select Value 2
Option 3
Select Value 3
Value => 1