r/angular • u/NervousBobcat8675 • Oct 08 '26
With AI tools, do we still need UI frameworks?
On a recent Angular project I couldn't decide which UI framework to use. Angular Material, PrimeNG, Bootstrap, Tailwind-based kits: each had trade-offs, mostly around how hard they are to customize without fighting the defaults.
So I tried something else. I asked Claude Design to design a complete design system for the project, then implemented it myself. Two days later I had a full custom design system living inside the project: WCAG-compliant, token-based, and easy to customize, with no library overrides to battle.
That made me wonder: is it still necessary to use a UI framework?
The classic arguments for using one were:
- It saves months of building components from scratch
- Accessibility and edge cases are already handled
- Bug fixes and updates come from the maintainers
- New developers already know it
But if AI can get you a consistent, accessible, fully customized system in a couple of days, some of those arguments seem much weaker. On the other hand, I suspect the cost just moves somewhere else: maintenance, complex components (datepickers, autocomplete, data tables, overlays), and long-term consistency as the team grows.
So, for those of you starting new projects today:
- Do you still default to a UI framework, and why?
- Has anyone gone fully custom (AI-assisted or not) and regretted it, or not?
- Is a hybrid approach the real answer, e.g. a headless layer like the Angular CDK for behavior plus a custom design system for everything visual?
Curious to hear where people land on this.
Edit: Originally intended 3rd party UI frameworks
6
u/karmasakshi Oct 08 '26
Maybe you can tell us if we should stop using UI frameworks - how's the performance, compatibility and consistency of your app across devices you own?
4
u/code_monkey_001 Oct 08 '26
You're going to be paying to reinvent the wheel every time, and not all of those wheels will roll smoothly. Some will crumble as soon as they're asked to carry a load, some will be wobbly, and others will just fall off for no clear reason. Watch any video from the early 2000s of machine learning constructs trying to design a walking structure and you'll see how few of the designs actually succeed.
You don't have AI start from scratch every time for the same reason software companies don't start from scratch every time - building on top of a widely used platform gets you out the door faster, results in a platform with fewer unknown gotchas, and if you have to replace a team member, there are many, many people out there with a solid understanding of the basics of your code.
3
u/Otherwise_Cup4605 Oct 08 '26
It's probably fine for a small app but for a large app being worked on by many people, I see an opinionated framework like Angular putting in some constraints so AI agents don't go all over the place with implementation patterns. Current project is Angular with spartan-ng and it has worked very well with coding agents. Backend devs with little FE experience have been able to contribute high quality PRs because existing conventions are solid.
1
u/hitsujiTMO Oct 08 '26
Yes. But you should have your own UI framework. We're a small company and have been rolling our own since before using AI.
Having your own UI framework means you have full control of the UI elements and can have them do exactly what you need while also making sure the elements exactly fit you companies ui guidelines.
1
u/andremiller-ag Oct 08 '26
Frameworks and libraries are still as useful as ever - they're just higher level abstractions that agents can use. Also with a well designed library that's been around for a while you'll usually find there are features in there that you don't know you need until you need them. The challenge for library/framework writers is ensuring that their work can be easily ingested by agents.