Lompat menuju konten

Library komponen

The building blocks of your front-end

Component Libraries Ratios Over Time

While MUI maintains in top rank in terms of usage, shadcn/ui is making huge gains, doubling from 20% to 42% in a year; as well as topping the positivity chart with 80%!

Ant Design
Chakra UI
Headless UI
MUI
Radix
React Bootstrap
shadcn/ui
React Aria
Mantine

Mode:

View:

0%
20%
40%
60%
80%
100%
2023
2024
0%
20%
40%
60%
80%
100%
💡
Anda dapat mengklik nama teknologi mana pun untuk mendapatkan informasi tambahan dan penjelasan yang lebih mendalam pada data yang serupa.
0%
20%
40%
60%
80%
100%
1

2

3

4

5

6

7

8

9

10

0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Library komponen lain apa saja yang pernah anda gunakan?
(Pertanyaan bebas)
We asked members of the React community to share their “pick of the year”

My 2024 Pick: "Mind the Gap" – Ryan Florence's talk at Big Sky Dev Con 2024

Ryan masterfully shows how React's new "use server" and "use client" directives let us build rich features on both sides of the network, using the same unified paradigm. A must-watch for any React developer.
We asked members of the React community to share their “pick of the year”

Sam Selikoff

Videos for frontend developers on Build UI and YouTube, co-host of the Frontend First podcast

Motion (previously known as Framer Motion) takes a well-deserved first place to celebrate its recent rebranding!

0%
20%
40%
60%
80%
100%
1

2,883
2

1,488
3

1,022
4

927
5

844
6

287
7

8

9

10

Tidak ada

1,880
11

Lainnya

97
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Which animation libraries have you used?

Data Visualization

Chart.js tops the rankings this year. By the way, did you know that all of this survey's chart are custom-built?

0%
20%
40%
60%
80%
100%
1

2,978
2

2,338
3

1,888
4

1,149
5

375
6

302
7

241
8

234
9

194
10

0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Which data visualization and graphics libraries have you used?

Form Libraries

React Hook Form is by far the most common form library today. But with the growing popularity of the TanStack, er, stack, it'll be interesting to keep an eye on TanStack Forms in the future.

0%
20%
40%
60%
80%
100%
1

4,275
2

2,795
3

670
4

449
5

281
6

154
7

8

33
9

10

11

12

Tidak ada

961
13

Lainnya

114
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Which libraries have you used to manage forms?

Interestingly, a majority of developers is comfortable using both controlled and uncontrolled forms.

That being said, if you must pick only one then controlled form inputs seem like the way to go!

0%
20%
40%
60%
80%
100%
1

Both, depending on the situation

3,103
2

Controlled form components

2,335
3

Uncontrolled form components

606
4

Lainnya

16
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Which form pattern do you usually prefer using?

CSS Tools & Libraries

Did Tailwind kill CSS-in-JS? Or did CSS itself simply catch up? In any case the days of getting fancy with CSS architecture seem to be over, as the top three spots are all taken by longstanding CSS tools.

0%
20%
40%
60%
80%
100%
1

4,587
2

3,991
3

3,772
4

3,715
5

1,973
6

1,198
7

372
8

220
9

219
10

182
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Which libraries or frameworks have you used to style your React apps?

Titik Sakit Komponen

With the amount of pain caused by styling & customization issues, it's no wonder “headless” libraries such as Radix and React Aria have proven so popular.

0%
20%
40%
60%
80%
100%
1

Styling & customization

2

Form issues

3

Tailwind issues

4

CSS-in-JS

5

MUI issues

6

Performance

7

Excessive complexity

8

Styled Components issues

9

Lainnya

Jawaban yang cocok dengan “Lainnya” 278
0%
20%
40%
60%
80%
100%
% dari pertanyaan responden
Apa saja titik sakit yang pernah anda hadapi selama bekerja dengan komponen?
(Pertanyaan bebas)

Rekomendasi Sumber

Tailwind CSS
Steve Kinney
Temporal

Tailwind CSS

By the end of this course, you'll be proficient in building visually stunning, responsive, and maintainable user interfaces with Tailwind CSS!
Design Systems with Storybook, v2
Steve Kinney
Temporal

Design Systems with Storybook, v2

Create reusable UI components with composable styles and variants using Tailwind CSS. Use MDX for documentation, set up interaction testing, and add data fetching to create a robust dev environment for your component library.
Terima kasih kepada semua Mitra yang telah mendukung Kami! Pelajari lebih lanjut.