RadioButton is an extension to a standard radio button element with skinning capabilities to opt for only one value at a time. The two-way binding is provided through the ngModel directive, which enables default values as either checked or unchecked (preselection). A basic example of a RadioButton component with a defined label text is written as follows:
<div class="ui-g">
<div class="ui-g-12">
<p-radioButton name="group1" value="Angular" label="Angular"
[(ngModel)]="basic"></p-radioButton>
</div>
<div class="ui-g-12">
<p-radioButton name="group1" value="React" label="React"
[(ngModel)]="basic"></p-radioButton>
</div>
<div class="ui-g-12">
<p-radioButton name="group1" value="Polymer" label="Polymer"
[(ngModel)]="basic"><...