Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 720 Bytes

fieldset.md

File metadata and controls

32 lines (25 loc) · 720 Bytes
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.

Structure

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>