# Radio

The MRadio component is a simple radio button. When combined with the MRadioGroup component you can provide groupable functionality to allow users to select from a predefined set of options.

# Usage

Although MRadio can be used on its own, it is best used in conjunction with MRadioGroup. Using the @bind-Value on the MRadioGroup you can access the value of the selected radio button inside the group.


# API

# Examples

# Props

# Color

Radios can be colored by using any of the builtin colors and contextual names using the Color prop.


# Direction

Radio-groups can be presented either as a row or a column, using their respective props. The default is as a column.

Loading...

# Mandatory

Radio-groups are by default not mandatory. This can be changed with the Mandatory prop.

Loading...

# Contents

# LabelContent

Radio Group labels can be defined in LabelContent - that will allow to use HTML content.

Loading...

# Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.

Edit this page on Github Compontents.Footer.Edit.End
Last updated: 3/28/2022 2:24:25 AM