UI component library: a decision that can come back as an application rebuild

In a large application, a library of ready-made components is the foundation of hundreds of screens. Choosing it looks like a technical decision made at the start of a project, yet years later it can force a rebuild of the whole application. One of our clients learned this after PrimeNG changed its licence.

What PrimeNG is and what changed

PrimeNG is a popular library of ready-made interface components for Angular: tables, forms, calendars, dialogs and dozens of other elements. It is developed by PrimeTek. For years it was available free of charge under the open MIT licence, which is why it ended up in many large business applications.

In 2026, PrimeTek changed the rules. New major versions are no longer open source: they are released under the commercial PrimeUI licence, paid per developer. The free Community licence covers only individuals, non-profits and small teams. Earlier versions remain under the MIT licence, but the original repository has been archived, so further development is unlikely.

Why this is a serious problem for a large company

The client I am writing about develops a large application built by teams in several countries on several continents. They had two options: buy licences for every developer and depend on a single vendor's pricing, or stay on a version that will gradually fall behind new versions of Angular.

The real problem, however, turned out to be the architecture. PrimeNG components were used directly throughout the application, and every developer could use the library's full API. Changing the vendor therefore meant changes on practically every screen.

Migrating to Angular Material with company components

When migrating to Angular Material, we did not swap components one for one. We built a layer of company components, so-called wrappers. Every interface element, from a button to a table, is a component of the company UI Kit with its own stable API. Angular Material runs underneath, but the teams do not need to know or think about it.

If the component vendor ever has to change again, the change will affect only the UI Kit, not every screen of the application.

Storybook and Playwright tests

The UI Kit is integrated with Storybook, a catalogue of all components with usage examples and documentation. Developers check there what a component looks like, which variants it has and how to use it before they write the first line of code.

The whole kit is covered by Playwright tests, which check the components in a real browser. Every change to the UI Kit passes the tests before it reaches the teams.

Consistency as a planned outcome

The side effect of this approach was in fact deliberately planned: highly consistent interfaces. Developers received full documentation and guidelines, but very limited room for customising components. A button, a table or a form looks and behaves the same everywhere in the application, regardless of which team built the screen.

With teams spread across several continents, this level of consistency was previously out of reach. When every developer has access to the full API of an external library, everyone solves the same problems slightly differently.

What to look at when choosing a component vendor

  • Licence and funding model. Who maintains the library, how they fund it and what happens if that model changes.
  • Pace of updates. Whether the library keeps up with new versions of the framework.
  • Your own component layer from day one. Even the best vendor should not be visible directly in your application code.

Let’s talk about your project

Tell us briefly what you want to build or fix.