UNPKG

carbon-components

Version:

Carbon Components is a component library for IBM Cloud

23 lines (22 loc) 1.1 kB
<fieldset class="bx--fieldset"> <legend class="bx--label">Radio Button heading</legend> <div class="bx--form-item"> <div class="bx--radio-button-group"> <input id="radio-button-1" class="bx--radio-button" type="radio" value="red" name="radio-button" tabindex="0" checked> <label for="radio-button-1" class="bx--radio-button__label"> <span class="bx--radio-button__appearance"></span> Radio Button label </label> <input id="radio-button-2" class="bx--radio-button" type="radio" value="green" name="radio-button" tabindex="0"> <label for="radio-button-2" class="bx--radio-button__label"> <span class="bx--radio-button__appearance"></span> Radio Button label </label> <input id="radio-button-3" class="bx--radio-button" type="radio" value="blue" name="radio-button" tabindex="0" disabled> <label for="radio-button-3" class="bx--radio-button__label"> <span class="bx--radio-button__appearance"></span> Radio Button label </label> </div> </div> </fieldset>