See a problem with the code? Need a new component? Have feedback? We'd love to hear it all! The success of the Bluemix Design System relies on great people like yourself. Fill out the form below to submit your issue to our GitHub repo.
A member of the Bluemix Design System's team will be in touch within 48 hours.
Your issue, , is now in the bluemix-components repo. Click the issue number to track the progress or make edits to your issue.
We will get back to you within 48 hours. Feel free to reach out to us on one of our slack channels if you have additional questions:
#bluemix-componentselements
Radio buttons are used when a list of two or more options are mutually exclusive, meaning the user must select only one option.
<input id='unique-radio-1' class='bx--radio' type='radio' value='red' name='radio'>
<label for='unique-radio-1' class='bx--radio__label'>
<span class='bx--radio__appearance'></span>
Radio label text
</label>
<br>
<input id='unique-radio-2' class='bx--radio' type='radio' value='blue' name='radio' checked>
<label for='unique-radio-2' class='bx--radio__label'>
<span class='bx--radio__appearance'></span>
Radio label text
</label>
<input disabled id='unique-radio-disabled' class='bx--radio' type='radio' value='blue' name='radio'>
<label for='unique-radio-disabled' class='bx--radio__label'>
<span class='bx--radio__appearance'></span>
Radio label text - disabled
</label>