Skip to content

Radio


vue
<div>
<fv-radio v-model="value" label="Option">
Option
</fv-radio> 
<fv-radio v-model="value" label="Option2">
Option2
</fv-radio>
<fv-radio label="Option3" disabled>
Disabled
</fv-radio>
</div>

Radio-Dark


vue
<div style="background:#000;height:30px;padding:20px;">
<fv-radio v-model="value" label="Option" theme="dark">Option</fv-radio>
<fv-radio v-model="value" label="Option2" theme="dark" disabled>Disabled</fv-radio>
</div>

Radio With Icon


vue
<div >
<fv-radio v-model="value" label="NUIIris" icon="NUIIris">NUIIris</fv-radio>
<fv-radio v-model="value" label="MSN" icon="NUIFace" >MSN</fv-radio>
<fv-radio v-model="value" label="MSN" icon="NUIFace" disabled >Disabled</fv-radio>

</div>

Radio With Image


vue
<div>
<fv-radio image="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-react-assets/choicegroup-bar-unselected.png" activeImage="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-react-assets/choicegroup-bar-selected.png" v-model="value" label="chart" >Chart</fv-radio>
</div>

Radio-Dark With Icon


vue
<div style="background:#000;padding:20px;">
<fv-radio v-model="value" label="NUIIris" icon="NUIIris" theme="dark">NUIIris</fv-radio>
<fv-radio v-model="value" label="NUIIris" icon="NUIIris" theme="dark" disabled>disabled</fv-radio>
<fv-radio v-model="value" label="MSN" icon="NUIFace" theme="dark">MSN</fv-radio>
</div>

Radio Custom Color


vue
<fv-radio  icon="NUIIris" v-model="value" label="NUIIris" style="background:#00cc99;" theme="dark" >NUIIris</fv-radio>
<fv-radio icon="NUIIris" v-model="value" label="NUIIris" style="background:#00cc99;" theme="dark" disabled>Disabled</fv-radio>

Properties


PropertyTypeRequiredDefaultDescription
modelValueNo''The component value used by v-model.
v-model/valueObjectYesundefinedSee the Radio v-model/value option.
labelYesundefinedSee the Radio label option.
themestringNo'global'Theme color.
iconstringNonullMS-ICON
colorstringNo''See the Radio color option.
foregroundstringNo'rgba(0, 90, 158, 0.8)'See the Radio foreground option.
iconBlockBorderRadiusnumberNo6See the Radio iconBlockBorderRadius option.
iconBlockBorderWidthnumberNo2See the Radio iconBlockBorderWidth option.
imagestringNonullSee the Radio image option.
activeImagestringNonullSee the Radio activeImage option.
disabledbooleanNofalseWhether the component is disabled.
langstringNo"global"See the Radio lang option.

Events


EventArgumentsDescription
clickeventSee the component click option.
activedeventSee the component actived option.

MIT Licensed