This guide is for CTOs, engineering leads and product owners who have already picked React or Vue and now have to pick the layer of buttons, dialogs, forms and tables every screen will use. It sits under Netbase's web application development work and compares libraries by criteria and decision rules, not by rankings, stars or scores.
In this guide
- What does a component library decide for a web app?
- Which selection criteria matter most?
- How do the three library models compare?
- Does the choice differ between React and Vue?
- How does a design system sit on top of the library?
- A two-week proof before you commit
- Where AI fits
- What delivery record exists, and what does not
- Alternatives: which other routes exist, and how do you choose?
- When should you not adopt a new library?
- Limits of this guide
- Frequently asked questions
- Next step
What does a component library decide for a web app?
A component library decides how every interactive element behaves, how it is styled and who maintains that code. Once dozens of screens import it, replacing it means touching most of the front end, so it deserves an explicit test.
Libraries fall into three models. A styled kit ships finished components with a visual language: Material UI describes itself as an open-source React component library that implements Google's Material Design, and Vuetify offers the same model for Vue. Headless primitives ship behaviour without styles: Radix Primitives handle ARIA attributes, focus and keyboard navigation while you write the look. A copy-in source model gives you the component code itself; shadcn/ui says it is not a component library but how you build your own.
A design system is a separate layer. It holds your tokens, brand rules and the components no library ships. Because it builds on the library, both belong in one decision.
Which selection criteria matter most?
Weight each criterion for your app before you look at any library, then score the shortlist against the weights.
- Accessibility behaviour. Keyboard use, focus handling and screen-reader roles that follow the WAI-ARIA Authoring Practices. Check: tab through a dialog, a menu and a combobox with a screen reader running. For an app that already fails these checks, see our accessibility remediation guide.
- Theming and design tokens. Can your colour, type, spacing and radius values drive the library from one token file? Check: re-theme two components from tokens without overriding CSS by hand.
- Coverage of the hard components. Data grid, date and range pickers, combobox, tree and file upload are where teams lose weeks. Check: list the hard components your screens need and see which the library ships.
- Right-to-left and localisation. Mirrored layouts, localised dates and numbers, long translated labels. Check: render one screen in an RTL language and one with long German-style labels.
- Rendering and framework fit. Server rendering, your meta-framework and your framework version. Check: render the spike screen on the server without hydration warnings.
- Bundle cost. Tree-shaking and per-component imports. Check: measure the bundle of the spike screen, not the library's headline number.
- Maintenance and licence. Release cadence, a stated support window for major versions and a licence your company accepts. Check: read the changelog of the last two majors and their migration guides.
- Exit cost. How much of your code would change if you left. Check: count how many files import the library directly once wrappers are in place.
How do the three library models compare?
| Criterion | Styled kit | Headless primitives | Copy-in source |
|---|---|---|---|
| Speed to first screens | Fastest: finished look and wide coverage | Slower: you write every style | Fast once a base theme exists |
| Fit with a strict brand | Theming can feel like a ceiling | Full control of the look | Full control; you edit the code |
| Accessibility work left to you | Mostly done; verify custom variants | Behaviour done; you own contrast and focus styles | Inherits from its primitives; you own changes |
| Upgrades and exit | Major versions can be large migrations | Small surface, easy to wrap | No upstream upgrades; you maintain the copy |
The rule that follows: pick a styled kit when convention is an advantage, such as an internal tool or an admin console where nobody pays for a unique look. Pick headless primitives when the design system is the product requirement. Pick copy-in source when you want headless behaviour plus a head start on styles and you accept owning that code.
Does the choice differ between React and Vue?
The criteria are the same; the ecosystem is not. React has the widest choice of all three models, including React Aria, which ships unstyled components with built-in internationalisation and right-to-left layout. Vue has fewer options per model, so the coverage and maintenance checks weigh more: confirm current Vue 3 support and the hard components before anything else.
Some headless projects cover both frameworks; Headless UI describes its unstyled, accessible components for React and Vue. One token set and one set of behaviour rules can then serve two codebases.
How does a design system sit on top of the library?
Treat the library as a dependency your product code never imports directly. A thin wrapper package exposes your components, your names and your props, and maps your tokens onto the library's theme.
- Tokens first. Keep colour, type and spacing in one token file; the Design Tokens Format Module 2025.10 is a stable community format for exchanging tokens between design tools and code.
- Wrap, do not fork. Wrap library components in your own; only fork when you take the copy-in route on purpose.
- Document and test in isolation. A component workshop such as Storybook shows every state and runs visual checks before a change reaches a product screen.
- Version the wrapper. Product teams then know which upgrades break them.
Once the system exists, getting engineers to use it is its own job; our guide to design system adoption covers enforcement and metrics.
A two-week proof before you commit
-
Inventory the screens
List the hard components and states your first release needs, from the requirement list or a checklist such as our portal requirements checklist.
-
Choose the model
Decide styled kit, headless primitives or copy-in source from the brand and accessibility rules above, then shortlist two libraries.
-
Spike the two hardest screens
Usually a data table with filters and a long form with validation, built in each shortlisted library.
-
Test with a keyboard and a screen reader
Run the dialog, menu, combobox and table checks, plus one right-to-left render if you sell in RTL markets.
-
Theme from tokens
Drive both spikes from your token file and note every manual CSS override.
-
Write the decision record
Record the weights, the scores, what was not tested and an exit plan naming the wrapper boundary.
Where AI fits
AI speeds up the mechanical parts of a library choice and rollout: drafting a component inventory from existing screens, generating stories and test cases for each state, and drafting codemods for a library upgrade. Engineers still run the accessibility checks, review every generated story and test, and decide the weights, and AI tools are chosen per project rather than tied to one vendor.
- In delivered work
Recommendation engine
A recommendation engine delivered for 4over4's online store suggests products from browsing history and previous purchases.
- In delivered work
Content filtering into an admin queue
AI-powered content filtering that flags offensive posts into an admin moderation dashboard, for a classifieds client that is not named.
- Available capability
Component inventory and story drafts
An assistant that drafts a component inventory and Storybook stories from existing screens for engineers to review; not yet tied to a published case.
What delivery record exists, and what does not
For a Dubai-based loyalty and rewards company whose name is not published, Netbase delivered a headless multi-store reward shop platform with a Next.js front end. It runs individually branded reward shops per client programme in Arabic and English and includes mobile SDK UI components for client apps: one component base themed per brand.
For Deyar Printing & Advertising, Netbase scoped and built a bilingual Arabic right-to-left and English web-to-print platform with an online designer studio, the kind of build where RTL behaviour is a selection criterion rather than an afterthought.
Netbase teams combine business analysts, project managers, architects, developers, QA and UI/UX designers, and modular, productized components are one step of the published delivery lifecycle. In custom development the client owns the IP created for it, which includes a design-system wrapper written for the project. Most projects are delivered on fixed-price contracts agreed after discovery. Netbase publishes no preferred component library, no library migration duration and no bundle or speed figure, and this guide claims none.
Alternatives: which other routes exist, and how do you choose?
| Route | Choose it when | Watch for |
|---|---|---|
| Build your own library from scratch | No library meets an accessibility or brand rule and a team will maintain it for years | Accessibility and upkeep cost that never ends |
| Use the admin or CMS theme's components | The app is an internal admin on a framework that ships its own UI | Lock-in to that framework's release cycle |
| Server-rendered templates with a CSS framework | Mostly content pages with little interaction | Rework when interactive screens grow |
| Commercial component suite | The data grid or scheduler is the product and must be bought | Licence terms per developer and per release |
The selection rule is the same as for open-source libraries: weight the criteria, spike the hardest screen and record the exit cost before you sign or build.
When should you not adopt a new library?
Do not switch libraries to fix a missing design system: inconsistent screens move with you. Do not adopt one because a single screen needs a component; add a focused package instead. And do not migrate without a wrapper boundary.
Limits of this guide
- It compares library models and criteria, not library versions, which change faster than this page.
- Named libraries are examples of a model, not a ranking or recommendation.
Plan the next step with a Netbase consultant
Frequently asked questions
Use an existing library unless none meets your accessibility or brand rules and you can fund a team to maintain your own for years. Most teams get further by wrapping a library in their own design-system package, which keeps the brand under their control without rebuilding behaviour that libraries already test.
A headless library fits best when the design system is a hard requirement, because it ships behaviour and accessibility without a visual language to fight. It costs more styling work up front, so a styled kit is often the better choice for internal tools where a unique look adds little.
Yes, when tokens are kept in one framework-neutral file and each framework has its own thin component wrapper. Behaviour can stay consistent if both wrappers sit on headless primitives that follow the same accessibility patterns.
Next step
If you are choosing the front-end foundation for a new or re-platformed web app, send us your screen list and brand rules and we will reply with a proposal for a short discovery and a two-week library proof.
Related services and solutions
Web application development with AI built in where it converts Netbase provides web application development for product and commerce teams that need fast, maintainable web apps and storefront front ends, with AI search, assistants and automation added where they measurably help. Since 2012 Netbase has worked with 500+ businesses across 80 countries; according to its published case studies, PrintLeo's page load improved 35% and 4over4's conversion rose 48%.
Learn More
UI/UX design services: research, interfaces and design systems built in code Netbase designs the interfaces of web apps, SaaS products, mobile apps and online stores: user research, flows, wireframes, clickable prototypes and visual design, plus a design system shared by designers and developers. Because UI/UX designers sit inside the delivery team, the same people who design a screen see it built, tested and released.
Learn More
AI-enabled commerce experience solutions for print and commerce businesses Commerce experience solutions are the Netbase family of platforms for print and commerce businesses: web-to-print ordering, multi-vendor marketplaces, product personalization and commerce operations automation, with AI for design help, search and recommendations. Each one starts from how your customers buy and how your team fulfils orders, and combines custom engineering with reusable Netbase modules.
Learn More
Work with Netbase remotely
Every Netbase engagement is delivered remotely, so clients in any country and any industry can work with us; Netbase has worked with clients in 80 countries. Contracts and invoices are issued by Netbase JSC, and payment is made by bank transfer to Netbase JSC's company account or PayPal Business. Talk to the CEO, Huy Nguyen (David), on WhatsApp or by email.
Discuss a project
Netbase JSC helps organizations design, build, modernize, and operate digital products and AI-enabled business systems.project@netbasejsc.com
+84 937 869 689
91 Nguyen Chi Thanh, Dong Da, Hanoi, Vietnam
Get in touch
Tell us what you want to build, modernize, or operate.