Menu
Data input

Fieldset

Groups related fields under a legend.

NameTypeWhat it does
fieldsetcomponentA <fieldset> with a bordered frame and a mono legend

Fieldset

Profile
HTML
<fieldset class="fieldset" style="width: min(22rem, 100%)">
  <legend>Profile</legend>
  <label class="field"><span>Name</span><input class="input" placeholder="Ada Lovelace"></label>
  <label class="field"><span>Role</span><input class="input" placeholder="Engineer"></label>
</fieldset>