Fieldset

Personal Information

Enter your details below.

<.fieldset
  id="fieldset-single-personal-information"
  description="Enter your details below."
  legend="Personal Information"
>
  <ExoUI.Components.input name="name" label="Name" type="text" value="" />
  <ExoUI.Components.input name="email" label="Email" type="email" value="" />
</.fieldset>
Notification channels

Pick at least one way to receive product updates.

<.fieldset
  id="fieldset-single-with-error"
  description="Pick at least one way to receive product updates."
  errors={["Select at least one channel."]}
  legend="Notification channels"
>
  <ExoUI.Components.input type="checkbox" name="email_notifications" label="Email notifications" value="true" />
  <ExoUI.Components.input type="checkbox" name="sms_notifications" label="SMS notifications" value="false" />
</.fieldset>
Disabled fieldset
<.fieldset disabled id="fieldset-single-disabled" legend="Disabled fieldset">
  <ExoUI.Components.input name="disabled_field" label="Can't edit this" type="text" value="disabled" />
</.fieldset>