I'm not sure what part of front-end development is left for AI to "take over"? Attend meetings and validate what can and cannot be done?
But that's not the whole picture when it comes to this sort of work. Yes, you can generate components and pages, and that's nice enough. But it's how they glue together that matters, and what use case they solve, and in many cases, what bespoke functionality they have for domain specific requirements. AI tools can't solve that, nor can anyone who uses them without real programming knowledge make those sorts of systems.
I do worry about juniors though. I suspect quite a few companies will realise they don't need many of them if they can just give AI tools to their designers and senior devs and have them quickly pump out the boilerplate stuff in seconds...
AI could handle much of the front-end development process, but the real challenge lies ahead. In the future, the UI/UX of a product will matter more than ever. Even if AI takes over front-end tasks, the bigger question is: will AI also take over UI/UX design? That's where the real creativity and differentiation lie.
I do see a future where the "ai" (agi or llm) decides what the UI looks like entirely.
There will be more no-code products entirely driven by LLMs in 2025 that entirely build front-ends and backends but give you non-customizable solutions.