Skip to content

RadioCards

RadioCards ​

jsx
import RadioCards from '@semcore/ui/radio-cards';
<RadioCards />;

NSRadioCards.Props ​

& & {...}
NameTypeDescription
namestring Radio cards group name.
defaultValue Default selected radio card value.
value Currently selected radio card value.
onChange(value: , event: ) => void Called when the selected radio card changes.
disabledboolean Disables the entire radio group and all radio cards.

RadioCards.Item ​

jsx
import RadioCards from '@semcore/ui/radio-cards';
<RadioCards.Item />;

NSRadioCards.Item.Props ​

& {...}
NameTypeDescription
disabledboolean Disables radio card.
iconAddon Optional icon displayed before the content.
textstring Optional text displayed in the header.
value Unique value associated with the radio card.
textAddonstring Additional text displayed in the header.
descriptionstring Description displayed below the header.
dotstring Shows a dot indicator with the specified accessible label.
loadingboolean Shows a skeleton instead of text addon.

Released under the MIT License.

Released under the MIT License.