Responsive font sizing is applied by default. This means the text will be smaller on mobile and larger on desktop.
Selection: [none]
This example demonstrates customizing the content, spacing, and typography of the cards, as well as changing the layout based on the breakpoint.
Selection: [none]
This example demonstrates a case where more control is needed over the position of the field label on the desktop breakpoint, so it is rendered separately of the radio cards component. We do still need to pass the label text into the radio cards component for accessibility purposes, but hide it visually by passing in a prop.
Selection: [none]
Selection: first
id
String
label
String
name
String
''
options
Array
undefined
inline
Boolean
false
v-model
Any
undefined
hasIcon
Boolean
false
labelClass
String
''
labelSrOnly
Boolean
false
id
String
name
String
value
Any
disabled
Boolean
false
inline
Boolean
false
displayName
String
''
v-model
Any
The previous radio card and radio card group components were based on bootstrap-vue 's implementation.
Going forward the v-model
should be on the radio card group component when passing in the options
prop.
When using the radio card group's default slot the v-model
should be on the radio card components within that slot.