Gå til innhold

Komponentbibliotek

Byggesteinene til din applikasjon

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

Modus:

Visning:

0%
20%
40%
60%
80%
100%
2023
2024
0%
20%
40%
60%
80%
100%
💡
Du kan trykke på enhver teknologi for å se ekstra detaljer, og ta et dypdykk inn i dataen.

Andre komponentbibliotek

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

2

3

4

5

6

7

8

9

10

0%
20%
40%
60%
80%
100%
% besvarelser på spørsmål
Hvilke andre komponentbiblioteker har du brukt?
Fritekstformat
Vi spurte medlemmer av React-fellesskapet om å dele sitt "årets valg"

Min valg for 2024: "Mind the Gap" – Ryan Florences foredrag på Big Sky Dev Con 2024

Ryan viser mesterlig hvordan Reacts nye "use server" og "use client"-direktiv lar oss bygge rike funksjoner på begge sider av nettverket, ved å bruke samme forente paradigm. Et must-see for enhver React-utvikler.
Vi spurte medlemmer av React-fellesskapet om å dele sitt "årets valg"

Sam Selikoff

Lager videoer for frontend-utviklere på Build UI og YouTube, medvert for Frontend First podcast

Animasjon

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

🚫 Ingen

1,880
11

Andre svar

97
0%
20%
40%
60%
80%
100%
% besvarelser på spørsmål
Hvilke biblioteker har du brukt for animasjon?

Datavisualisering

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%
% besvarelser på spørsmål
Hvilke datavisualiserings- og grafikkbiblioteker har du brukt?

Skjemabiblioteker

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

🚫 Ingen

961
13

Andre svar

114
0%
20%
40%
60%
80%
100%
% besvarelser på spørsmål
Hvilke biblioteker har du brukt for å håndtere skjemaer?

Form Patterns

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

Andre svar

16
0%
20%
40%
60%
80%
100%
% besvarelser på spørsmål
Which form pattern do you usually prefer using?

CSS-verktøy og bibliotek

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%
% besvarelser på spørsmål
Hvilke biblioteker eller rammeverk har du brukt for å style React-appene dine?

Utfordringer med komponenter

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

Andre svar

Svar som matcher “Andre svar” 278
0%
20%
40%
60%
80%
100%
% besvarelser på spørsmål
Hvilke utfordringer har du møtt på når det gjelder å arbeide med komponenter?
Fritekstformat

Anbefalte ressurser

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.
Takk til våre partnere for deres bidrag! Lær mer.