Ugrás a tartalomhoz

Komponens könyvtárak

A frontend-ed építőkövei

UI Libraries Ratios Over Time

While MUI (a.k.a. Material UI) is still number one in terms of usage, shadcn/ui is growing fast and on the verge of overtaking it for the top spot.
Ant Design
Chakra UI
Headless UI
MUI
Radix
React Bootstrap
shadcn/ui
React Aria
Mantine
Magic UI
HeroUI (previously NextUI)

Mode:

View:

Használat:

Proportion of respondents having used an item
0%
20%
40%
60%
80%
100%
2023
2024
2025
0%
20%
40%
60%
80%
100%

Number of Items

A big proportion of users don't use any component library at all–while at the same time, those who do use one are likely to have tried out multiple options. This suggests the space isn't quite settled yet, and that there's still room for new entrants to make their mark.
0%
7%
13%
20%
27%
33%
01
0
1,246
02
1
473
03
2
523
04
3
501
05
4
370
06
5
260
07
6
171
08
7
121
09
8
44
10
9
34
11
10
7
12
11
10
0%
7%
13%
20%
27%
33%
A kérdőív válaszolók százaléka
💡
Bármelyik technológia nevére kattintva extra részleteket találhatsz és alaposabban átnézheted a kapcsolódó adatokat.

Egyéb komponens könyvtárak

Base UI is another entrant in the very competitive space of headless UI libraries–in other words UI libraries that provide component behavior, but leave styling up to you. And with many Radix veterans as part of the team, it's definitely worth checking out if that's what you're after.
Mely más komponens könyvtárakat használtál már?
(szabad formátumú válasz)
Multiple
0%
20%
40%
60%
80%
100%
02
+5
+9
+4
06
07
-5
-4
-4
11
-4
12
13
Egyéb
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka
Not every project needs fancy animations, but for those who do Motion has established itself as a serious option.
Which animation libraries have you used?
Multiple
0%
20%
40%
60%
80%
100%
2
🚫 Egyik sem
+2
741
4
588
5
504
6
365
7
76
8
+2
9
Egyéb
33
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka

Data Visualization

Despite not being a React-specific chart library, Chart.js still tops the rankings.

Want to guess what library we use for the charts you see here? Trick question, they're all hand-coded from scratch!

Which data visualization and graphics libraries have you used?
Multiple
0%
20%
40%
60%
80%
100%
1,245
02
1,037
03
969
04
🚫 Egyik sem
+3
460
+5
207
+5
174
08
-2
154
-2
128
10
-1
120
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka

Form Libraries

Nobody likes dealing with forms, but when you can't help it React Hook Forms at least makes the whole thing a lot less painful.
Which libraries have you used to manage forms?
Multiple
0%
20%
40%
60%
80%
100%
01
1,964
02
1,095
04
🚫 Egyik sem
+2
355
05
-1
260
06
-1
164
08
-1
62
09
-1
56
10
-1
19
11
Egyéb
42
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka

Form Patterns

The debate between controlled and uncontrolled form components isn't really one. Respondents mainly switch between either pattern; but if they need to pick then controlled forms are the clear winner.
Which form pattern do you usually prefer using?
0%
20%
40%
60%
80%
100%
1
Both, depending on the situation
1,423
2
Controlled form components
1,024
3
Uncontrolled form components
200
4
Egyéb
8
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka

CSS Tools & Libraries

CSS-in-JS had its 15 minutes of fame, but the appearance of Tailwind, as well as the huge improvements in CSS itself in the last couple years, have put a big dent in its popularity.
Which libraries or frameworks have you used to style your React apps?
Multiple
0%
20%
40%
60%
80%
100%
01
2,142
02
1,794
03
1,607
04
1,594
05
786
06
467
07
+4
329
08
-1
199
-1
103
10
-1
102
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka

Komponensek hiányosságai

Developers seem to have a love/hate relationship with Tailwind, with some citing it as a pain point while others see it as the answer to their UI troubles.
Milyen hiányosságokat tapasztaltál a komponens könyvtárak használata során?
(szabad formátumú válasz)
Multiple
0%
20%
40%
60%
80%
100%
1
Styling & customization
2
3
React issues
4
CSS-in-JS issues
+1
5
Form issues
-3
6
Excessive complexity
+1
7
Breaking changes
8
Bloat
+9
9
Egyéb
0%
20%
40%
60%
80%
100%
A kérdésre válaszolók százaléka

Ajánlott források

Enterprise UI Development: Testing & Code Quality
Steve Kinney
Temporal

Enterprise UI Development: Testing & Code Quality

Learn unit testing with Vitest, continuous integration via GitHub Actions, component and accessibility testing with Axe, mocking techniques, and code standard enforcement using ESLint and Husky & Lint-Staged.
The Hard Parts of UI Development
Will Sentance
Codesmith

The Hard Parts of UI Development

Develop an under-the-hood knowledge of UI dev by learning techniques such as data binding, UI composition, templating, virtual DOM and its reconciliation, and hooks, all from scratch!
Köszönet partnereink támogatásáért! Tudj meg többet.