label | title |
---|---|
Component |
Fieldset |
A fieldset is used to group a set of controls. It is typically used to group several radio or checkbox components together, but can be used to create context for any form control types.
The legend.ray-fieldset__legend
element must be the first child fo the fieldset
.
<fieldset class="ray-fieldset">
<legend class="ray-fieldset__legend">Fieldset legend</legend>
<!-- form controls go here -->
</fieldset>