pydantic/fastui ? reverse-engineered prompt

Reverse engineered prompt

Build me a small demo web app using FastUI so the whole interface is defined from Python on the backend and rendered in the browser without me writing any custom JavaScript.

I want a simple FastAPI app with a homepage that shows a table of users, where clicking a name opens that user’s detail page. The detail page should show the person’s info clearly, with a back link to return to the list. Use FastUI components for the layout and make the pages feel polished and responsive. If it helps, use the prebuilt FastUI frontend so I can run it easily, and keep the code clean and easy to understand.

Please make sure the app is fully working end to end, includes a few example users, and serves the FastUI HTML correctly for all routes. If you need to check anything, look up the current docs online first.