Remix.run Logo
sroerick 3 hours ago

I totally agree with this. Agents seem tremendously bad at UI to me. Maybe it's just because I am a back end guy.

Right now I'm working on a declarative UI framework which can help me along here. My thought is that if I sacrifice a little control for sane primitives, that will make that spec /build loop easier.

I think ClayUI is a really interesting "reduced instruction set" for UI. I don't know that immediate mode UI is the right call for anything web related (that's how you get React lol) but his reduced primitive layer is very interesting to me

flir an hour ago | parent [-]

> Right now I'm working on a declarative UI framework which can help me along here

After your first para, I was about to suggest exactly that (well, maybe not writing your own). I find that frameworks (both front-end and back-end) constrain the LLM's choices and result in both sensible defaults and improved consistency.

Of course, you will immediately hit the problem all frameworks have: customer requirements that the framework components don't quite meet.

Still, great for RAD.