Why you should use Component Libraries

Why you should use Component Libraries

James Perkins

1 год назад

21,441 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

James Perkins
James Perkins - 05.01.2023 18:10

What do you think about component libraries?

Ответить
First
First - 22.09.2023 10:43

Component libraries are almost impossible to customize.

Ответить
Manav Misra
Manav Misra - 31.08.2023 16:37

Using Radix UI with Tailwind. ❤ TailwindUI is cool too, but a bit lacking. However, I purchased it just to support the project.

Ответить
Ben Wales
Ben Wales - 11.07.2023 15:43

Shadcn seems like a good all round solution

Ответить
William
William - 27.06.2023 06:10

no way Jose!

Ответить
Stephen Dyson
Stephen Dyson - 06.06.2023 19:20

I love using mantine, but wanting to start using thw nextjs app directory. So been switching to tailwind, unless there is a component library that works with the nextjs app directory

Ответить
Quattro
Quattro - 02.06.2023 05:10

Hello, is your browser Safari? I'm wonder how you customize it and how to have sidebar?

Ответить
Just a SydeFix
Just a SydeFix - 27.05.2023 01:07

Instead of "Stop using tailwind" how about "Think before using Tailwind" or "Components are more efficient than Tailwind" which is something I agree with.

Ответить
VexedOnion
VexedOnion - 24.05.2023 00:36

What are your thoughts on native web component libraries like shoelace and microsoft FAST compared to react based libraries for building long term design systems?

Ответить
Raphael Carvalho
Raphael Carvalho - 19.04.2023 22:32

Thank you!

Ответить
Huey Vam
Huey Vam - 18.04.2023 08:44

I've heard libraries like Mantine don't work well with SSR. Any thoughts on this?

Ответить
Will Bond
Will Bond - 15.04.2023 03:27

You persuade our designers and I buy you coffee for a month. 🙄

Ответить
Jagdeep Singh
Jagdeep Singh - 14.04.2023 19:16

Misleading thumbnail and title. Video is good though. Like it.

Ответить
Guchi
Guchi - 13.04.2023 04:43

Holy. DaisyUI is literally what I was looking for and I had no idea it existed. Thanks.

Ответить
Cabal77
Cabal77 - 09.04.2023 04:15

Easy... headless components + tailwind. Best of both world's.

Ответить
Quassa KE
Quassa KE - 05.04.2023 17:53

tailwind headless daisyui

Ответить
The Answer
The Answer - 03.04.2023 12:06

I use Tailwind because customising component libraries is pain in the ass. I rather create the components myself.

Ответить
Roland Ayala
Roland Ayala - 03.04.2023 10:12

Interesting take. I transitioned off comp libs like mui & mantine to tailwinds / headless, plus daisy (just for the semantic colors and themes). True, can't throw together UI quite as quickly as w/ traditional comp lib, but have lot more flexibility and I in long run I spend less time because don't need to reverse engineer or workaround limitations each comp lib has.

Ответить
ongkay
ongkay - 02.04.2023 12:28

I love mantine UI + tailwindcss😍

Ответить
Eli Bates
Eli Bates - 31.03.2023 21:33

My team has had great success combining mantine and tailwind. Any time we need to customize a mantine component we slam some tailwind classes in and they play super nicely most of the time.

Ответить
John Chiappetta
John Chiappetta - 31.03.2023 16:10

I use MUI (material ui) for work and personal projects. It's well documented and imo easy to use. I've tried tailwindcss and I see why people like. I think I comes down to use case and personal preference. Chakra UI and Mantine UI are great component libraries also but I don't think they have been out as long as MUI. Anyways great video - I dropped a like. 👍

Ответить
Stanislav Schaefer
Stanislav Schaefer - 30.03.2023 23:52

My only problem with UI libraries is that if you come across companies that incorporated an old version and never bothered to update the project with the current UI version, it is a nightmare trying to update everything to the current state.

Ответить
Ambuj Singh
Ambuj Singh - 29.03.2023 23:12

The thing about component libraries is that they come with a bit of learning curve. You need to look at their docs more often than you'd have to if you were using tailwind because you can far more easily guess classnames rather than component names and their props. At the end of the day it comes to preference but learning new things never hurts to find what sticks the best.

Ответить
phomolo ntokoane
phomolo ntokoane - 21.03.2023 22:51

He has a point. Imagine you have a dateline and you are worried about the ui when important parts are not finished.

Ответить
Micober Ss
Micober Ss - 07.03.2023 23:50

Two reasons I use component libraries :1) it saves time. 2) I dont have a good taste for design. I remember back in the days when bootstrap was popular I created a landing page using pure css, I was very proud of my design, and another using Bootstrap . Showed to my wife to choose the nicest of them. She picked the Bootstrap one, said that it looked nicer, more modern, easier on eyes. After that I rarely used pure css for my projects

Ответить
oscar da silva
oscar da silva - 07.03.2023 14:14

Daisy UI looks like Bootstrap with extra steps.

Ответить
Chris Gotsikas
Chris Gotsikas - 04.03.2023 14:03

We’ll I guess most of you guys, don’t have to deal with intricate designs. Designs that change completely the look and feel of a basic component. Designs that push design and user experience to the edge. In those cases, yes it’s only logical to have some libraries in your arsenal… but there are cases that the libraries won’t cut it.
There are libraries like radix, react-aria, headlessUI that offers you basic components and their functionality but they’re without styling. That way you get to author you’re styles with having to override a bunch of predefined styles.

Ответить
DeepTitanic
DeepTitanic - 25.02.2023 01:54

If you're needing to use a library like Daisy to make Tailwind more manageable then JFC maybe Tailwind isn't a good solution.

Ответить
YEET
YEET - 16.02.2023 08:15

We settled on Radix UI + Tailwind. Good stuff!

Ответить
JEsterCW
JEsterCW - 12.02.2023 01:52

Using UI libs is only a pick when we have to deliver product pretty quickly or theres no budget for custom ui and even tho the only viable pick is mantine atm, MUI and chakra are pain in the ass, chakra is survivable yet, but MUI has the worst DX you could ever experience and the only value is that it gives hella alot of variants of x component and thats cool for customizing ui of an app with only "copy and paste from docs". Otherwise TailwindUI+RadixUi+Tailwind for customizing the components i dont see any better pick I would never use UI lib like mui, its catastrophic experience, but client doesnt care what you will use and what matters is the final results, so from business/company perspective who have a team of devs picking ui can be a good pick, but for somebody who wanna work on a single longterm product custom components and ui is the only pick.

I also hate UI libs overall, but I love tailwind and thats why i wanna build my own tailwind based ui lib to use it for my projects since im more focused on delivering functionalities these days than ui and how does it looks like

Ответить
Claudio Bernasconi
Claudio Bernasconi - 06.01.2023 12:38

We use MUI (formerly Material-UI) as React Component library at work. I have a personal project that still uses Bootstrap (and is a mess). This video helped me learn about DaisyUI, Mantine, etc. It's difficult to decide if you don't know those libraries upfront. However, I'd always use a component library for the exact same reasons you have in your video. 😉

Ответить
swlkrcodes
swlkrcodes - 06.01.2023 03:18

I am a tailwind purist, but I still liked and subscribed. TailwindUI templates + components have been pretty decent for me

Ответить
Venkata Penumatsa
Venkata Penumatsa - 05.01.2023 21:11

I like chakra in general, I used it in one of the project. But lately it’s not compatible with in Next 13 inside app directory. 😢

Ответить
Najish Mahmud
Najish Mahmud - 05.01.2023 20:40

Also try headless UI with tailwind.

Ответить
thetripletsbadboys
thetripletsbadboys - 05.01.2023 20:39

I NEEDEED THIS VIDEO LOL. I WAS JUST THINKING ABOUT IT

Ответить
Mohammed Aslam
Mohammed Aslam - 05.01.2023 20:26

What about component libraries based on tailwind? Like daisyui

Ответить
Leo John
Leo John - 05.01.2023 20:20

The problem is that you will use enough time to modify those components

Ответить
Nick Kechris
Nick Kechris - 05.01.2023 19:54

I really prefer using ui libraries one of my favorites is PrimeReact but when your manager says don't use libraries make everything by yourself you do everything by yourself,especially when the project it's too big everything matters especially for perfmonace reasons

Ответить
Keith Hirst
Keith Hirst - 05.01.2023 18:51

Great video. I thought you did a great job at balancing the landscape.

Is that excalidraw that you are using?

Ответить
Developer Filip
Developer Filip - 05.01.2023 18:25

Super insightful - I am a Tailwind fan, however, I don't like how much they charge for their pre-build component library. I have never heard of DaisyUI and will definitely check it out ;)

Ответить
Oussama Moutafatin
Oussama Moutafatin - 05.01.2023 18:20

I like to write my own components, and keep copying/pasting and improving them every time

Ответить