How Shadcn/ui ACTUALLY Works

  Рет қаралды 107,509

Theo - t3․gg

Theo - t3․gg

Күн бұрын

Пікірлер
@Dude29
@Dude29 9 ай бұрын
Insightful story about the designers, those guys are heavily under appreciated by us devs
@jwoods9659
@jwoods9659 9 ай бұрын
Tjta mostly because they can't build stuff. I find people limit themselves into roles. Devs should learn some design why because your can't design shit people will use. Lol No people people should not have to learn everything but understand enough of what other people do. So your able to respect their work. Design is hard
@Dude29
@Dude29 9 ай бұрын
@9659 Yes it is and any dev worth their salt will understand that and understand the value designers bring
@Gornius
@Gornius 9 ай бұрын
@@jwoods9659 Exactly. I'm tired of people meaning "specialization" as "the sole thing I will do". No, if you want to be productive you need to learn a lot of things from a lots of domains. This doesn't mean being an authority, but at least understanding it good enough you can discuss it with authority.
@jwoods9659
@jwoods9659 9 ай бұрын
@@Gornius You gotta remember most developers and designers are nerds. Hince they think a certain way..."mastering" be a "expert". That is the fastest way to be unemployed. You need to have a good working knowledge of skillsets like you said. It takes a lifetime to master this stuff yes. There are people that do, they know everything in it. But that's all they know they are limited to that one thing. And that's fine, but average everyday people.need to be realistic that is not them and most jobs require that you are able to just pick up things and run with it. I say learn how to learn the 20% of working knowledge you need in something and go from that point
@redakcjaTheBased
@redakcjaTheBased 9 ай бұрын
It really depends I have worked with designers who knew what they were doing and "designers"
@manupadev
@manupadev 8 ай бұрын
Thanks for the shoutout Theo. Always a pleasure.
@senorclouds
@senorclouds 9 ай бұрын
I’m a designer. Bridging gaps ⚡️I love this channel for picking up the dev experience. This breakdown of a ui primitive and style config on top is the way 👍
@techjandro
@techjandro 8 ай бұрын
Oh Theo! Currently in my job in building de UI library for our Design System, basically you just described everything im facing with right now, love it!
@soundrightmusic
@soundrightmusic 9 ай бұрын
The tangent on design was spot on. I'm a UX UI designer and the worst part of the job is working with devs who are not interested in working with you.
@techjandro
@techjandro 8 ай бұрын
I find myself very frustrated most of the time for the same reason… AND IM A DEV.
@soundrightmusic
@soundrightmusic 8 ай бұрын
@@techjandro yeah grenade tossing designers are also a plague
@sayamqazi
@sayamqazi 7 ай бұрын
it goes both ways.
@soundrightmusic
@soundrightmusic 7 ай бұрын
@@sayamqazi so true.
@DaxSudo
@DaxSudo 9 ай бұрын
Ooo i didnt realize this was out. Im so glad work uses tailwind and i am def pushing for shadcn.
@parkerrex
@parkerrex 9 ай бұрын
Theo audible for blog posts is nice
@mich_thedev
@mich_thedev 8 ай бұрын
The designer I work with currently is just like Iris. Always takes his time to help me out when I have issues with the css for a specific design. I would really love to work with someone like him again as I would be leaving the company soon 😔
@NicolasEmbleton
@NicolasEmbleton 8 ай бұрын
The idea that designers design and coders code (and each broken down in sub-cubicles) and then throw over the fence is quite antiquated. It was the very thing that "Agile teams" tried to address. Great story in any case. Iris seems like a great designer to team up with.
@ashundeyan8031
@ashundeyan8031 9 ай бұрын
I really like shadcn, but honestly, I've been getting so much mileage out of straight up native html elements with how much the support for them/their apis have improved the past few years, that I probably wouldn't use too many components out of here -- especially given how much custom crap I usually have to end up writing anyway. I'll probably end up sticking to either pure css and/or tailwind for the time being, but I like projects that genuinely get us to re-evaluate how we're doing things. Thanks for the video!
@shahrozahmed9746
@shahrozahmed9746 9 ай бұрын
​@toparamennoodles9652 I tried using a date picker from shadcn, the imports were around 100KB uncompressed. How is it different than other libraries in this regard?
@kilo.ironblossom
@kilo.ironblossom 7 ай бұрын
@ashundeyan8031 go for HTMX then
@mahi3216
@mahi3216 9 ай бұрын
shadcn deresrves to be the standard way of building modern UI in no time.
@talleyrand9530
@talleyrand9530 2 ай бұрын
It's now offcial v0 design tool
@KazmirRunik
@KazmirRunik Ай бұрын
10:45 My intuition for this is to just apply the background color to a frame that's set on top of the container, which is transparent, and the overflow rule would apply to the background frame instead of the container itself. The color would be applied to the background frame so it doesn't overflow. The button would then sit on top of the container as a sibling element to the background frame, so it could act independently of the background frame's overflow rule.
@tropicbliss1198
@tropicbliss1198 9 ай бұрын
I have been using shadcn for my final year project and have been getting a lot of mileage out of it especially since it is a dashboard UI. And the best part is that it is new enough that they thought I designed the UI from the ground up.
@kiranpillai876
@kiranpillai876 9 ай бұрын
Lmao
@JunYamog
@JunYamog 8 ай бұрын
I just switched from bootstrap to tailwind and shadcn-svelte since last week. I am not a front end dev, but had done a few sites and apps. Initially the first 2 days was a bit frustrating, but after that it was great. Now after a week I find this way is better. Also great on having everything in your project. I had 2 minor changes on copied code, 1 to expose a type on TS. Another is to use a sub component not used by shadcn-svelte but existed underneath.
@joelazaro461
@joelazaro461 8 ай бұрын
I am about to try this with Svelte for my own project as well. I just want a good pattern for frontend stuff to make it as painless as I can so that I can focus on backend.
@JunYamog
@JunYamog 8 ай бұрын
@@joelazaro461 not painless but seems more straightforward.
@jkbmrck
@jkbmrck 8 ай бұрын
wow this video has truly incredible value, learned so much here in a single video thanks theo love you
@gosnooky
@gosnooky 8 ай бұрын
I love shadcn because it does all these behaviours and a11y things properly. I'm not front-end/UI developer, but had to build a quick and dirty UI to interact with an administrative API that I built, and being able to build a decent UI quickly and accurately for the three people who will eventually use it was invaluable.
@ephektz
@ephektz 9 ай бұрын
Datepickers 💀 A couple thousand lines.
@Charles-Darwin
@Charles-Darwin 9 ай бұрын
forms with multiple datepickers with business rules and validation and 2 way binding ☠
@ericbonow4809
@ericbonow4809 8 ай бұрын
I learned early in my dev career that designer collaboration is a mandatory consideration. It's so important to be able to interact with an open mind the concerns and technical limitations of design mockups.
@arshiagholami7611
@arshiagholami7611 9 ай бұрын
As a final year IT student, shadcn helps me procrastinate even longer 😅
@joaopslins
@joaopslins 8 ай бұрын
The whole video is great, but the dev/design tangent was the highlight for me. Thanks for sharing.
@d3stinYwOw
@d3stinYwOw 8 ай бұрын
That story about designers remember me about something - similar principle can be applied between testing team and SW engineers in general. In many companies those are in their own 'silos', which always makes me mad as hell, being test engineer who feel to be held back not by SWEs, but others within my 'silo'. When I started to bridge those gaps myself, everything went much better, both side. Less gaps = better.
@haroldjeshua
@haroldjeshua 9 ай бұрын
that blog was in my reading list for months now, this vid reminded me of it, good stuff + that css frameworks video of yours is the very first video i watched from you. never subscribed that fast before lol
@jadam42
@jadam42 6 ай бұрын
@11:30 I love designers like this! They are few and far between. I've only ran across a couple like this in my career. Interestingly they were also the both Jr Designers. I loved working with them far more than their Sr. counterparts who I've found to be less flexible and interested in collaborating with eng.
@matthewcorbett8637
@matthewcorbett8637 8 ай бұрын
Love this blog and video! I hope some piggy backs off this and makes a blog about the shadCn Vue project. Would love to see what they used to replace the react specific libraries. I know that used Vee validate and and a vueZod lib for forms tho.
@Andres_dev-pi9fd
@Andres_dev-pi9fd 4 ай бұрын
I'm studying how to build a good UI library for a Design system that I created (i'm dev with fundamentals of design) and this video Is really insightful thank you so much
@Tylerlaws00n
@Tylerlaws00n 6 ай бұрын
The recommendation for disabling the behavior to allow consuming projects to override library styles is simple. Don’t remove tailwind merge, just reverse the order and put the className from the props first before overriding with your library styles second. This will read weird if you’re used to reading it the opposite way, but achieves the desired behavior.
@nitemunky76
@nitemunky76 8 ай бұрын
Its nice when you can get a dev and a designer who are willing to work together and compromise. In my (very long) experience, it doesnt happen that often...
@MelroyvandenBerg
@MelroyvandenBerg 8 ай бұрын
I'm using Firefox under Linux, but type="date" shows a very useful and working date picker.
@owenwexler7214
@owenwexler7214 5 ай бұрын
13:00 she is a true MVP 🏆
@EwanMarshall
@EwanMarshall 8 ай бұрын
To be 100% fair, bootstrap originally was to be part of your code base and you would customize it, you would just download zip file and drop the contents into codebase back in bootstrap 1.0/2.0/3.0 days, even 5.x is supposed to still be customizable by using SASS and building up your own set of property variables with the base just being good consistent defaults. But a lot don't bother with customizing to that degree.
@CraigMcNicholas
@CraigMcNicholas 9 ай бұрын
SOLID principles mentioned in frontend 😂 Honestly very few devs I've come across who work on the UI have come with these skills and its painful to teach every single time.
@bullettime2808
@bullettime2808 9 ай бұрын
Why am I getting a feeling of Deja Vu from this video
@blazi_0
@blazi_0 8 ай бұрын
Because you read the blog post before, just like me 😂
@chadbrowsky2496
@chadbrowsky2496 8 ай бұрын
Why no one mentions ANT Design tho? This lib is so damn great TBH
@triplea657aaa
@triplea657aaa Ай бұрын
I LOVE Shadcn. It's just really nice to use.
@maurocanobrusa2043
@maurocanobrusa2043 7 ай бұрын
WRT overriding a component's styles via className (24:40), you can also reverse the order, for example replace cn(badgeVariants({ variant }), className) with: cn(className, badgeVariants({ variants })
@vlaoff
@vlaoff 9 ай бұрын
"We need this in Vue. I have worked on such a library at my previous job. Of course, it was not that advanced, but it sped up development considerably
@zacharythomasrobertson8471
@zacharythomasrobertson8471 9 ай бұрын
It exists for vue as well, though unofficially. Google it and you can find it 👍
@sidarthg2477
@sidarthg2477 9 ай бұрын
There is port of shadcn for vue
@soran2290
@soran2290 7 ай бұрын
This library of "reusable" components only works with react or is it compatible with any framework like lit?
@zenpool
@zenpool 9 ай бұрын
I love tailwind-merge and wish it was a first party tailwind solution, but removing it when not needed to be used is sound as that lib is 5kb gzipped and has a runtime cost.
@betapacket
@betapacket 9 ай бұрын
4:39 I don't see anything wrong with Firefox's date picker...
@gungun974
@gungun974 9 ай бұрын
I will watch the video but before that I just want to said that. I'm not a React developer and I'm bored of the Web but there is one thing I can tell is the approach of chadcn/ui is great and I really glad of the "copy and paste" approach. I think it's better to give to the developer the power of edit the library than just impose all the constraint of the library. Personally I try to create my own "Framework" in Golang but I found myself just editing for each project the core part of my architecture to just follow my hearth. That why tools like "chadcn/ui" are a great inspiration for me cause they show me I can just create a simple CLI who will generate the base component of my "Framework" and if I want to add for example the module React Email, I can just type "my_cli add emails" and tada I copy paste my emails module than I can edit to my will ^^
@jamesauble8091
@jamesauble8091 9 ай бұрын
Couldn’t agree more that it should be easy to build it the accessible way.
@ParkourGrip
@ParkourGrip 8 ай бұрын
28:07 This is still simple for forward ref. The hard part is when your component has a generic type and you need a ref prop. React had to make it complicated with forward ref instead of just allowing us to have a regular ref prop that works like any other prop. :D
@AntonyNjoroge
@AntonyNjoroge 7 ай бұрын
As a designer, I approve of this message.
@ginoleg
@ginoleg 9 ай бұрын
"Unlike bootsrap or MUI, with shad ui you have the code in your codebase, it's yours". How is that true if you still have to install radix-ui, tanstack-table, react-date-picker, etc. You are still limited by how much customization the underlying packages allow.
@kaedenmurphy9937
@kaedenmurphy9937 9 ай бұрын
Kind of, but worst case scenario you can still replace them.
@MrX8503
@MrX8503 8 ай бұрын
Bootstrap and MUI aren’t un-styled primitives.
@SamuelCoupland
@SamuelCoupland 8 ай бұрын
Good words about design teams!
@AnthonyBecker9
@AnthonyBecker9 6 ай бұрын
I love how much respect you have for every aspect of building products. Except for the poor standards committee on date pickers whom you hate.
@TeddyEDMOND-p6u
@TeddyEDMOND-p6u 9 ай бұрын
you gotta love theo's miniatures
@fille.imgnry
@fille.imgnry 8 ай бұрын
I watch youtube as I prefer it over reading blog posts. Now I find myself more often watching someone reading a blog post. Not sure what is going on. I look forward to start reading blog posts again that is reacting to youtube videos reacting to blogposts.
@ExoticCollector
@ExoticCollector 9 ай бұрын
I think shadcn does a good job at making unstyled components but by then not being installed via a package means they can be out of date and could in theory introduce major technical debt if your not careful. Someone at my work had those exact issue where cmdk the lib behind the command component changed and this broke the component. Which wouldn't have happened as easily with a properly maintained headless UI lib
@NeoChromer
@NeoChromer 9 ай бұрын
man I tried using Shadcn and I had so much issues with it, specifically the component. In the end I just disabled shadcn and added tailwind styled components. The issue was that with the for some reason the defaultValue is not being handled correctly. I had a dropdown for languages, and for native select, option, it worked without issue. With the shadcn select I could not make it work. It always ignores the default values. Also, i had a list of multiple selectes, which was dynamic I even added a useMemo however the cause so much performance issues that it was unusable in the end. Maybe I suck, but maybe shadcn needs a bit more overhaul to be used on more "serious" usecases.
@user-sf8du
@user-sf8du 9 ай бұрын
Select is different in radix vs a normal select. When you use shadcn it just installs a couple dependencies and creates files. When you think of it like another developer in your project created those files it gets a lot more powerful. I have a strong feeling I ran into the same issue last night that you had(the defaultValue issue). My approach was to treat it like a component some developer wrote for me and looked at the file. Figured out it was just radix, looked at the radix docs and solved it pretty quickly after that. It's not an issue with shadcn, it's an issue with radix, and it's really not an issue because radix covers it in their docs. As for the second issue you mentioned, I think you might have been pushing radix outside of its expected use case. You used a hammer as a wrench. Instead of expecting every component to cover every possible use case(just like you'd not expect that of a developer on your team to do) you'd modify the existing component, or add a new component to that folder. You have to shift your thought process a bit. It would take no extra time to have implemented the new select component you made as a new shadcn component. You would have gotten all the benefits shadcn offers on top of it. I don't mean to suggest that you(or anyone) needs to use shadcn. It's just it seems like the issues you had were not caused by shadcn itself and were caused by treating shadcn like it's a normal component library.
@NeoChromer
@NeoChromer 9 ай бұрын
@@user-sf8du I get you, but if I need to debug every component I use I kinda just write my own using tailwind, which in the end I did, took me less time then to figure out what was the problem.
@VictorMachi
@VictorMachi 5 ай бұрын
That's the thing with shadcn/ui, YOU OWN THE CODE. If there's a bug, it's YOUR problem and you can't simply `npm update` for a patch. You have to maintain it because even if the component works today, a breaking change might introduce a bug when you update one of its dependencies like the Radix component. That's why there's an ever-growing number of github issues. Even some examples on the docs are broken. And for some reason, Shad is even less active on the project. So don't blame yourself man. I think shadcn/ui is great but beware of these caveats.
@keepfeatherinitbrothaaaa
@keepfeatherinitbrothaaaa 4 ай бұрын
The forced behaviour of hover opening navigation items in a navbar is what was an immediate deal-breaker for me. Changing a well established and expected default behaviour of a click interaction for the sake of covering a very marginal number of scenarios in the name of 'accessibility' is completely unreasonable.
@geekboy328
@geekboy328 8 ай бұрын
I do my dev work in Firefox and I use native datetime pickers all the time. What’s the issue?
@vitinhuffc
@vitinhuffc 9 ай бұрын
i'm using it on a project this week and its really nice. but some components are really different from what i'm used to, specially when handling those informations. hey theo you could do a video that combines shadcn and zod for newbies. sometimes i lose a lot of time on those(im a newbie)
@Pascal257
@Pascal257 8 ай бұрын
I believe Theo misspoke when he said Firefox in regards of DatePicker. In my experience Firefox implements the HTML5 DatePicker to spec. Safari on the other hand flat out refuses to do so.
@t3dotgg
@t3dotgg 8 ай бұрын
I had to implement it for an internal tool at Twitch in 2018 specifically because Chrome supported it but Firefox didn't if I recall correctly
@wendyhuang3667
@wendyhuang3667 Ай бұрын
What was the font size you mentioned in this video? I don't seem to find it again. Thank you!
@learner8084
@learner8084 7 ай бұрын
I wonder if there is a list of commonly accepted variance name available ? Some kind of defacto naming. Thanks.
@luca4479
@luca4479 9 ай бұрын
The CLI part you said is not true, it’s not ‘since just a few months ago’ I installed them over EIGHT months ago using the CLI.
@herroic
@herroic 6 ай бұрын
This is called chad ui and you can't convince me otherwise
@theyruinedyoutubeagain
@theyruinedyoutubeagain 8 ай бұрын
Bro's literally out there reading blog posts jfc
@Arzen84
@Arzen84 8 ай бұрын
I wish I could work with a designer in our team. I am designing everything for our admin site and as much I enjoy doing it besides coding it can take up a big chunk of my time.
@lost-prototype
@lost-prototype 6 ай бұрын
Holy crap, this is perfect.
@sveagruva
@sveagruva 9 ай бұрын
if you don't want to allow to override certain styles you should put them last in cn call like this cn("can be overridden", className, "can't be overridden")
@paulramos5732
@paulramos5732 9 ай бұрын
A youtube comment is not a good place to do a deep dive conversation in web development. But I do take issue with your story about the card and popover. There is nothing not doable about the design you were given. Maybe it's because I've been a web developer/engineer since there weren't libraries or consoles. My take is you just manually create the thing you want where you want it in those instances. (Which is essentially what popper does, but if you don't have influence to utilize a library like that I guess i understand why you'd have the designer re work their design) 100% agree on your statement about chain of understanding User to Designer to Engineer.
@forsureitsme
@forsureitsme 8 ай бұрын
Must be nice to work with a designer like that, who puts ego aside for the success of their team.
@zig5712
@zig5712 8 ай бұрын
I'm waiting for someone to create gigashad, then i'll use it.
@bandinopla
@bandinopla 2 ай бұрын
12:45 she spent the same amount of time or more than you would have taken to just code the popup to self attatch to the body on mouseover... idk if it is a success story or a story of how lazy you used to be.
@amv_energy682
@amv_energy682 8 ай бұрын
I believe there are many things to improve, previously when i was working on the project, using new scrollable component in terms of width is was working very nice. But for the height we need to specify the perticular value, other wise it takes full height, and the issue was resizing for responsive ness. Was weird. Other was the form control was giving the bad usestate error normally we can solve that using use effect, but here i was not sure what to use, as the error was comming from the shadcn/ui form. And one was the the popover, when we pass a button to the popover the popup trigger stops working after one time- i think we need to pass some ref to root. And i also noticed sometimes it the variant has the bigger value of style, and you are pass the smaller value while calling the component it doesn't work. If anyone can help me with form please do, i haven't found the solution yet.
@funkdefied1
@funkdefied1 9 ай бұрын
This was a great video 👍🏼
@zxnnightstalker2289
@zxnnightstalker2289 9 ай бұрын
Really great article
@dand4485
@dand4485 9 ай бұрын
Theo, am i to understanding your point with ref's are like pointers in C/C++, you and point to hell and then go there ;)
@manupadev
@manupadev 8 ай бұрын
Nope. An entirely different concept. A ref in react is an object that is a reference to the underlying DOM object for a given React component.
@Laura69
@Laura69 8 ай бұрын
@@manupadev refs in React are not only to reference DOM Elements, it can be any value.
@manupadev
@manupadev 8 ай бұрын
@@Laura69 Yes Indeed. I should have made the context more clear. I'm specifically talking about element refs.
@DmitryLapshukov
@DmitryLapshukov 8 ай бұрын
Generational shift represents my early career days 😂
@DmitryLapshukov
@DmitryLapshukov 8 ай бұрын
If you know you know
@zacharythomasrobertson8471
@zacharythomasrobertson8471 9 ай бұрын
Wouldn't surprise me if shadcn simply becomes standard coding practice moving forward.
@notoavinarazafilalao7415
@notoavinarazafilalao7415 9 ай бұрын
how about Park UI ?
@andrewk2756
@andrewk2756 8 ай бұрын
Is everyone fine with that just one select component for example takes 100kb minified?
@IlhanNegis
@IlhanNegis 9 ай бұрын
sorry to break at to you but she didn't change how you look at designers, you did realized how you can achive that, while frustrating designer
@IlhanNegis
@IlhanNegis 9 ай бұрын
as designer as dev i'll say one thing, before starting argue with a designer, know that 99,9% of what you're going say is not about limitation but skill issue
@alexkaminsky210
@alexkaminsky210 9 ай бұрын
@@IlhanNegis It's about balancing the cost (time) of their design decisions with the value of those decisions.
@IlhanNegis
@IlhanNegis 8 ай бұрын
@@alexkaminsky210 that is by definition is not dev's job
@alexkaminsky210
@alexkaminsky210 8 ай бұрын
@@IlhanNegis you're probably right in plenty of situations but it's also not uncommon for devs to explain those tradeoffs to the stakeholders. It's part of product engineering.
@CraigMcNicholas
@CraigMcNicholas 9 ай бұрын
Still haven't seen any suggestion on how to manage updates/fixes once you've took a cut. You're basically screwed.
@Charles-Darwin
@Charles-Darwin 9 ай бұрын
npm packages suffer from this for the most part too though
@CraigMcNicholas
@CraigMcNicholas 9 ай бұрын
@@Charles-Darwin they are different though, if you pick a badly maintained project then you didn't research. But if it is maintained well and you have a pipeline setup with some level of testing along with mend (or other tool to spot out of date packages), integrating changes as they evolve in the package is more bitesize. You still have potential breaking changes to deal with but at least you are aware of them.
@MrX8503
@MrX8503 8 ай бұрын
The same way you do with your own custom components. The code is yours.
@kasper369
@kasper369 9 ай бұрын
Did he just uploaded a old video?
@sneakylenny
@sneakylenny 27 күн бұрын
21:26 This is similar to how Vue does it
@hovhadovah
@hovhadovah 9 ай бұрын
Leave it to JavaScript devs to install 5 npm packages just to enable styling in their project. So tired of this ecosystem and its ceaseless tide of hype and framework-hopping.
@DanielSpindler-gc7xh
@DanielSpindler-gc7xh 8 ай бұрын
change my mind but browsers and tools should be smart enough nowadays to function without aria stuff..
@QriousKoder
@QriousKoder 9 ай бұрын
so basically code gen nice.... 😏
@cocoscacao6102
@cocoscacao6102 8 ай бұрын
It's laughable that the person who released this video kzbin.info/www/bejne/e6W8pYyknd2YhMU says that he's an accessibility advocate... :/
@pkingo1
@pkingo1 9 ай бұрын
Honestly, I don't get the appeal of copy and paste of components. Yes you can modify the code, neat. But I'd rather the components be easy to style and customize, and to have them part of package manager so you get updates and bug fixes as the the components evolve, like they should.
@lancemarchetti8673
@lancemarchetti8673 9 ай бұрын
Nice
@tommytigerpants
@tommytigerpants 5 ай бұрын
Migrating from mui / emotion to this has been an absolute nightmare with my ts app.
@wojciechosinski5927
@wojciechosinski5927 8 ай бұрын
Is shadcn codegen?
@josevsebastian2909
@josevsebastian2909 9 ай бұрын
shadcn/ui does indeed present an interesting (and probably an essential) concept; only, they didn't do it right (for everyone). they used tailwind (and the thousands of classes that come with it) when they should have just used plain old css (or at least sass): you say you provide control, you shouldn't opionionate your "control" with a dependency. tailwind is fine if you're prototyping. but for production systems, i prefer clean separation (which tailwind doesn't do with inlining too many classes) between components and styles (using a stylesheet that doesn't mix and match responsibility; that's what css was made for in the first place). I would adopt shadcn/ui when they use css (or scss or at least css-in-js), but as it stands now, it's not for me.
@user-sf8du
@user-sf8du 9 ай бұрын
You could always just fix this in a couple hours for the components you do want, and ignore the rest.
@MrX8503
@MrX8503 8 ай бұрын
Disagree. This is a bad take.
@FabriceBokovi
@FabriceBokovi 2 ай бұрын
What is this app or website he's here? kzbin.info/www/bejne/d6LQfquVf86XfdE
@smatsri
@smatsri 3 ай бұрын
so u basicly just read the article
@blazi_0
@blazi_0 8 ай бұрын
İts kinda ridiculous how you have to make your components in front end instead of relaying on html elements, i dont understand why native html elements are so hard to modify and why they look garbage.
@georgejames3868
@georgejames3868 9 ай бұрын
most hyped? by who? youtubers?
@ghostinplainsight4803
@ghostinplainsight4803 9 ай бұрын
I absolutely hate tailwind, almost as much as I hate reading html. I need meaningful names of components to be able to understand them. To have to break down what some element *is* by *how* it's styled not *what* it's called is just insane and unnecessary cognitive load. I'm not against the utility of it, but they should just roll up some mixins that can be used inside s/css. It's just bootstrap remade a little more flexible.
@brmartins
@brmartins 9 ай бұрын
Primeiro ?
@AndreiGeorgescu-j9p
@AndreiGeorgescu-j9p 4 ай бұрын
Ah yea "amazing designer" who doesn't know the basics of css and wasn't even familiar with the product she was working on. Hilarious
@cmdr-reflipd
@cmdr-reflipd 3 ай бұрын
Honestly I loathe react.
The Story of shadcn/ui
8:28
CodeSource
Рет қаралды 37 М.
Why I Pick ShadCN and Tailwind for all my projects
18:53
developedbyed
Рет қаралды 75 М.
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 47 МЛН
This tool annoyed me (so I built a free version)
19:38
Theo - t3․gg
Рет қаралды 175 М.
How React Query Won
34:52
Theo - t3․gg
Рет қаралды 85 М.
Magic UI Review: The Best of Radix, Shadcn & Framer Motion
9:54
techgirlinstyle
Рет қаралды 4,3 М.
An open source app we can all learn from
29:09
Theo - t3․gg
Рет қаралды 80 М.
Svelte 5 Is Like React, But Better
19:33
Theo - t3․gg
Рет қаралды 77 М.
React Server Components: A Comprehensive Breakdown
52:42
Theo - t3․gg
Рет қаралды 103 М.
I Created My OWN Components with Shadcn CLI and You Can Too!
15:58
Brett Westwood - Software Engineer
Рет қаралды 4,2 М.
Why Everyone Loves Zustand
29:27
Theo - t3․gg
Рет қаралды 107 М.
Pupin’s WEB3 Challenge Workshop: 02 - EVM and Solidity
55:22
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 6 МЛН