Live view component used in eex pages

I would like to add a search bar to the top of all my normal eex templates. Would this be a good use case for live view, I can see the live_render helper but when trying to use it I get a variety of issues. Is live_render meant to be used in eex templates like this?

I have looked through but am unable to find an example of how todo this?

Should be possible to render a LiveView like this:

<%= live_render @conn, MyAppWeb.SearchLive %>

Make sure its a LiveView and not a LiveComponent