Components without LiveView

I was looking over the code generated by phx.gen.auth in my app and I noticed this:

    action={Routes.user_settings_path(@conn, :update)}

Source in phoenix: phoenix/settings_edit.html.heex at master · phoenixframework/phoenix · GitHub

I am confused how this works - I thought this component syntax could only be used within a liveview. I was expecting to see <%= form_for ... %>

The doc page for HTML.Form implies this as well: Phoenix.HTML.Form — Phoenix.HTML v3.2.0

Anyone care to explain? Thanks!

1 Like

Possibly related:

1 Like

Ok, I found it explained here:

Should the Phoenix.HTML docs be updated to include examples with HTML components?