Form

<.exo_form for={%{"email" => "ada@example.com", "name" => "Ada Lovelace"}} as={:profile}>
  <ExoUI.Components.input name="profile[name]" value="Ada Lovelace" label="Name" placeholder="Jane Doe" />
  <ExoUI.Components.input name="profile[email]" value="ada@example.com" type="email" label="Email" placeholder="jane@example.com" />
  <ExoUI.Components.input name="profile[bio]" type="textarea" label="Bio" value="Product engineer focused on LiveView UI systems." rows="4" />
  <ExoUI.Components.input name="profile[public]" type="checkbox" label="Public profile" checked />
  <div style="display: flex; gap: 0.5rem; justify-content: flex-end;"><ExoUI.Components.button type="button" variant="ghost">Cancel</ExoUI.Components.button><ExoUI.Components.button type="submit">Save</ExoUI.Components.button></div>
</.exo_form>