Why I Pick ShadCN and Tailwind for all my projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 พ.ย. 2024

ความคิดเห็น • 124

  • @JJohnson-fy9uz
    @JJohnson-fy9uz 10 หลายเดือนก่อน +42

    What about bigger projects with more complex components? ShadCN doesn''t have multiselect with autocomplete, double range sliders and many other stuff, that is included in big libraries like MUI/AntDesign/Mantine etc.

    • @belkocik
      @belkocik 10 หลายเดือนก่อน +2

      Good point!

    • @developedbyed
      @developedbyed  10 หลายเดือนก่อน +13

      Great point! I’ll pin it

    • @fitimbytyci345
      @fitimbytyci345 10 หลายเดือนก่อน +9

      @@developedbyedAlongside pinning, me and other watchers would hope to see your thoughts on this one,
      I can see you have already implemented Multiselect, so why don't you give an answer on how you did that, and also some recommendations on 3rd party libraries that will help us in times where shadcn hasn't implemented them yet.
      Cheers.

    • @elhaambasheerch7058
      @elhaambasheerch7058 10 หลายเดือนก่อน +16

      Agreed, but can create those pretty easily with shadcn, remember that deoesn't hide any code from you. so its pretty easy to customize.

    • @3litepker
      @3litepker 9 หลายเดือนก่อน

      @@developedbyed care to answer honey bun?

  • @Logicmontana
    @Logicmontana 10 หลายเดือนก่อน +27

    00:01 Choosing between UI libraries
    02:02 Setting up a global CSS for consistent styling
    04:07 Choosing ShadCN and Tailwind for quicker web development
    06:16 Choosing between CSS modules and frameworks like Bootstrap
    08:31 Custom styling with ShadCN and Tailwind
    10:26 Tailwind provides a ready-made design system and speeds up CSS writing.
    12:45 ShadCN with Tailwind enhances speed, accessibility, and theme switching
    14:59 Shat siand separates from other UI libraries
    16:57 Customize Tailwind classes and variant styles effortlessly
    18:47 ShadCN and Tailwind are my go-to for all projects.
    Crafted by Themba Botha the Highlight guru

  • @mr.guydvir
    @mr.guydvir 9 หลายเดือนก่อน +6

    I really love the way you're gradually presenting the solutions you've used up to tailwind, while explaining the disadvantages of each approach that led you to change to the next one.

  • @developedbyed
    @developedbyed  10 หลายเดือนก่อน +63

    Should we keep the webcam in or out for future videos?

    • @o_glethorpe
      @o_glethorpe 10 หลายเดือนก่อน +32

      What a silly question, in of course

    • @denniskarg
      @denniskarg 10 หลายเดือนก่อน +13

      Ed, you're such a likeable guy, definitely leave them on. It gives your videos a very personal touch that makes your videos stand out. :)

    • @tamaniphiri
      @tamaniphiri 10 หลายเดือนก่อน +7

      In, for sure🚀

    • @myanimebase6486
      @myanimebase6486 10 หลายเดือนก่อน +5

      Definitely in, I love your expressions

    • @ezrawebdev
      @ezrawebdev 10 หลายเดือนก่อน +3

      i like it! but maybe change your camera angle, or at least flip it so it doesn't look weird that you are facing the other way

  • @ilkou
    @ilkou 10 หลายเดือนก่อน +9

    I see shadcn components as a starter to build ur own design system; there's a reason u copy the code instead of importing it from npm, it's all in ur hands, use it, adapt it to ur need, and extend its principles to build more rich and complex components !

  • @rapidreasearchyt
    @rapidreasearchyt 10 หลายเดือนก่อน +4

    really excited too see ur next14 course buddy

  • @juanmacias5922
    @juanmacias5922 10 หลายเดือนก่อน +1

    I used MUI in my last project, and styling it was pretty similar to how Tailwind styles, it's not that bad.

  • @LennartBe
    @LennartBe 10 หลายเดือนก่อน +4

    Hey ed!
    Nice video. One quick advice or tip, if you continue to let us have your webcam in the video, try to position it so that you're looking into the video, not outside of it. That's a game changer 😀 keep it up

  • @scottclarke953
    @scottclarke953 10 หลายเดือนก่อน +4

    I like seeing the presenter while they code. 👍👍👍👍 also could you expand on why you prefer Tailwinds. I have seen so many saying Tailwinds is junk. Thank you so much for your time. 👍👍👍👍👍

  • @everythingisfine9988
    @everythingisfine9988 9 หลายเดือนก่อน

    CSS modules are fantastic for scoping one off features. Its a simple yet effective tool to use in conjunction with style libraries and traditional global CSS 🤝

  • @ndumisongcobo6224
    @ndumisongcobo6224 12 วันที่ผ่านมา

    This was fun 😃. Great content

  • @sumonchandra5992
    @sumonchandra5992 9 หลายเดือนก่อน

    I really love the "cn" approach of writing tailwind classes. I think the "cn" approach is now very popular for the ShadcnUI.

  • @rootrotingross7783
    @rootrotingross7783 2 หลายเดือนก่อน

    Dude, you are like the Coding Bro, like the down to earth colleage i need, The Code Teacher with Bro aura, big love bro keep being you, keep being awesome

  • @selectorsaurus
    @selectorsaurus 10 หลายเดือนก่อน +3

    I prefer writing css with BEM methodology. And my opinion is that the markup and styles should be separated. So.. no Tailwind for me then :)

    • @daviddixx6737
      @daviddixx6737 9 หลายเดือนก่อน

      Same here 😁

    • @tebesvet
      @tebesvet 3 หลายเดือนก่อน

      Good choice. Tailwind isn't that bad though. I'm not sure about libraries like shadcn-ui though

  • @codewithguillaume
    @codewithguillaume 10 หลายเดือนก่อน

    very nice

  • @_tanzil_
    @_tanzil_ หลายเดือนก่อน

    For enterprise level project, Material UI is the most reliable and proven by Google. But for small project like for a startup business, ShadCN is okey because it's smaller in size.

  • @ReynardNathaniel
    @ReynardNathaniel 8 หลายเดือนก่อน

    thanks for the video mate.
    can you do review of nextUI library?
    thank you

  • @DevGio
    @DevGio 10 หลายเดือนก่อน

    Hey Ed I also pick shadcn and tailwind for all my projects as well. They just simplify the tedious parts of developing and allow to me focus on writing components quicker. And honestly, with shadcn, more beautifully

  • @sukhrob-abdullaev
    @sukhrob-abdullaev 9 หลายเดือนก่อน +1

    Your Vs theme looks beautiful what is the name of this?

  • @saviogmz1734
    @saviogmz1734 10 หลายเดือนก่อน +1

    What vscode theme is that? Looks beautiful

  • @jamied6835
    @jamied6835 หลายเดือนก่อน

    I like seeing more stuff on screen, but a face at the bottom right is cool, for enunciation.

  • @karanpanwar96
    @karanpanwar96 10 หลายเดือนก่อน

    You create great video tutorials. ❤🎉

  • @erinmcgowan7980
    @erinmcgowan7980 2 หลายเดือนก่อน

    i feel that the issues stated with CSS, are generally beginner to mediocre CSS developers problems. Once you advance, you know how to deal with all of those things, without creating accidental overrides and redundancies. I hear those arguments so often from developers, and using Tailwind sometimes myself, I do not think that you are faster or more efficient (unless you are a Tailwind expert) writing your properties into HTML with Tailwind. Using them in React makes a bit more sense to me, but in classic projects I am rather on the conservative side.

  • @TheZhouh12
    @TheZhouh12 9 หลายเดือนก่อน +1

    how about nextui

  • @maddog2622
    @maddog2622 10 หลายเดือนก่อน +1

    Just started shadcn/ui on a real project and enjoying it so far. Still want to look into NextUI in the future, have you tried it?

  • @HilaryCheng
    @HilaryCheng 6 หลายเดือนก่อน

    I prefer tailwind-based component libraries, since the bootstrap-like framework often create mess of css(s) that lots of unknown css overlap each others............ -_-.

  • @EL_PANDA_742
    @EL_PANDA_742 10 หลายเดือนก่อน +1

    NB: What if you have two user interface and admin dashboard which means 2 project at the same directory, and they share the same resources, I mean how we can customize the @components directory for shadcn in this case.

    • @tebesvet
      @tebesvet 3 หลายเดือนก่อน

      Two css files? It should be powered by postcss which allows putting into separate .css files whatever you like.

  • @sohaibnoyyan8172
    @sohaibnoyyan8172 10 หลายเดือนก่อน

    Hey Ed you stopped showing magic tricks. Anyways you are the best creator out there!

  • @frenchmike
    @frenchmike 4 หลายเดือนก่อน

    i wish shadcn had sidebar components

  • @tebesvet
    @tebesvet 3 หลายเดือนก่อน

    Why shadcn-ui is so popular? I see it everywhere today but not sure about its real value. Wouldn't it be better having your own custom UI library?

  • @brancode404
    @brancode404 10 หลายเดือนก่อน

    Hey Bro Will this course be updated in your Old Next JS ecommerce course ?

  • @whoisshahmeer
    @whoisshahmeer 9 หลายเดือนก่อน

    Which theme are you using man?

  • @_.-AAA-._
    @_.-AAA-._ 5 หลายเดือนก่อน

    Tailwind is inline styles with extra steps.

    • @somedude6420
      @somedude6420 4 หลายเดือนก่อน

      actually less steps, if in context with react/nextjs
      - no need to enter double {{}}, and object syntax, just put classnames in ' ', and done 👍

  • @stevemolele6902
    @stevemolele6902 10 หลายเดือนก่อน

    🤣🤣🤣 How about now, man you're hilarious. Love the content my friend on the internet

  • @Taras3D
    @Taras3D 10 หลายเดือนก่อน

    🔥🔥🔥

  • @maxim_mazurok
    @maxim_mazurok 2 หลายเดือนก่อน +1

    I don't get it, why are you saying that Tailwind is giving you a design system if it's just a bunch of utility classes? Haven't used it, so actually curious

    • @codeddesign
      @codeddesign 29 วันที่ผ่านมา

      I think he means that, there are prebuilt design goodies to make your life easier. Let's look at colors for example. 1. There is a range of colors which are predictable due to a design system, like green-700 and blue-700 will have the dark effect and green-200 and blue-200 will have the same light effect. You dont get this from pure css, its something that you have to create from scratch on your own. 2. There is a well designed system to help you easily extend these colors and create your own and the will work as if they were offered by tailwind. They will fit well with the system (DESIGN SYSTEM) without writing a lot of CSS. As a designer myself, i totally understand that the word DESIGN SYSTEM might mean a totally different thing, but based on his explanation, he is not far off and remember, he is trying to make a point. We then need to understand him from the point he is trying to make not the meaning of a DESIGN SYSTEM in FIGMA TERMS. I might also be wrong or miss it, but that is how i see it

    • @maxim_mazurok
      @maxim_mazurok 29 วันที่ผ่านมา +1

      @@codeddesign yeah, I guess you can also call HSL in CSS a "design system" as well, just depends on how you define it :) Fair enough tho, I get your point

    • @codeddesign
      @codeddesign 29 วันที่ผ่านมา

      @@maxim_mazurok Thanks

  • @sammaxjorden
    @sammaxjorden 10 หลายเดือนก่อน

    ily

  • @tylim88
    @tylim88 10 หลายเดือนก่อน +1

    mantine is the best

  • @alexkonoplian
    @alexkonoplian 9 หลายเดือนก่อน +1

    On small projects, Tailwind is a great choice, you can make your life a lot easier. But on large projects, it will definitely turn into a mess, and you will move away from atomic classes one way or another.

    • @CoenBijpost
      @CoenBijpost 3 หลายเดือนก่อน

      Not if you create a project that is modular itself. Every module has limited amounts of atomic classes used. Stylesheets can also become a very bloated and stringy mess when they contain all kinds of named classes from all different parts of the project. The choice of css organisation is very dependent on the structure of the application itself.

    • @alexkonoplian
      @alexkonoplian 3 หลายเดือนก่อน

      @@CoenBijpost
      My project is modular, and TailwindCSS made it hard to read, hard to debug, hard to change.
      So I switched to regular classes that can contain classes from TailwindCSS.
      The atomic class approach is not suitable for every project and every task.

  • @خالد-ش6ل6ذ
    @خالد-ش6ل6ذ 10 หลายเดือนก่อน

    What's the name of the vs code theme u use ?

    • @developedbyed
      @developedbyed  10 หลายเดือนก่อน +1

      Material theme palenight!

    • @BReal890
      @BReal890 10 หลายเดือนก่อน

      and the font?

  • @scott_itall8638
    @scott_itall8638 10 หลายเดือนก่อน

    I tried ShadCN for Svelte, had a look, got scared and ran away back to Daisy lol.

    • @bn5055
      @bn5055 9 หลายเดือนก่อน +1

      It's worth trying again. It just takes a little perspective shift from a "traditional" npm-installed component library, but if you want to customise stuff, it's so much better.

    • @scott_itall8638
      @scott_itall8638 9 หลายเดือนก่อน

      @@bn5055 Still keen to use it myself just need to spend the time with it, soak it in.

    • @enitan2002
      @enitan2002 9 หลายเดือนก่อน

      same for me as well. Couldn't wrap my heads around Shadcn after using DaisyUI for quite a long time. NextUI comes in second place after Daisy

    • @scott_itall8638
      @scott_itall8638 9 หลายเดือนก่อน

      @@enitan2002 At the end of the day its all HTML JS and CSS so really doesn't matter what you use.

  • @LukeRoberts1979
    @LukeRoberts1979 6 หลายเดือนก่อน

    I'm confused Isn't this now Bootstrap?

    • @tebesvet
      @tebesvet 3 หลายเดือนก่อน

      Exactly my thoughts. It should be better than Bootstrap though because Tailwind is easier to customize. But anyway

  • @neilmerchant2796
    @neilmerchant2796 10 หลายเดือนก่อน +1

    I appreciate the point of the video, but there is no reason it should be nearly 20 min long.

  • @clintkennedy8387
    @clintkennedy8387 7 หลายเดือนก่อน

    The background music is distracting

  • @boniedwin
    @boniedwin 9 หลายเดือนก่อน

    mantine ftw

  • @fanxxai
    @fanxxai 9 หลายเดือนก่อน

    I think shadCN 📱 is trending

  • @fwdflashwebdesign
    @fwdflashwebdesign 9 หลายเดือนก่อน

    Is it still worth it to learn code with AI and all this changes?

    • @tebesvet
      @tebesvet 3 หลายเดือนก่อน +1

      OMG not AI again. Have you tried a AI tool for coding UI?

    • @fwdflashwebdesign
      @fwdflashwebdesign 3 หลายเดือนก่อน

      @@tebesvet Yes it can already prety much everything!

    • @tebesvet
      @tebesvet 2 หลายเดือนก่อน

      @@fwdflashwebdesign no, it can't. I'm not sure what is the reason but you're telling lies. AI can't do anything but implement just simple Figma layouts. Coding UI is even more complicated than coding backend. AI can't even implement a relatively easy Figma design without bugs and various artefacts. I don't even mention the problem of implementing dozens of states and hundreds transitions between them in web apps, accessibility, performance, semantic markup, SEO, and other things. AI tools will ruin your business plan in seconds if you'd stake at them.

  • @elie3423
    @elie3423 6 หลายเดือนก่อน

    Hmmm, module css.

  • @jaroslavhuss7813
    @jaroslavhuss7813 10 หลายเดือนก่อน +3

    What is all about ShadCN? DaisyUI is way WAY way better! I do not understand the hype around it.

    • @developedbyed
      @developedbyed  10 หลายเดือนก่อน +6

      it was never this vs that, I used daisy a couple of times it was pretty good

    • @josephmgift
      @josephmgift 10 หลายเดือนก่อน +2

      I used daisy 🙃 only to switch to Shadcn. See, those themes, especially my personalized ones did not work on older versions of Android and iOS. I can't wait to see Shadcn grow, it's my go to now.

    • @emmanuelezeagwula7436
      @emmanuelezeagwula7436 10 หลายเดือนก่อน +1

      what the pros of daisy ui

    • @bn5055
      @bn5055 9 หลายเดือนก่อน

      DaisyUI is basically Bootstrap that happens to use Tailwind. It's not exactly revolutionary.

    • @jaroslavhuss7813
      @jaroslavhuss7813 9 หลายเดือนก่อน

      @@bn5055 What I super like about DaisyUI is it's simplicity... No bloated code, no needed extra state and much more... I just love it...

  • @janakaone
    @janakaone 2 หลายเดือนก่อน +1

    Anyone using jQuery UI 👇

  • @alexandergeorgesquire220
    @alexandergeorgesquire220 3 หลายเดือนก่อน

    Absolute waffle

  • @ts8960
    @ts8960 8 หลายเดือนก่อน +1

    MUI is the best

  • @codernerd7076
    @codernerd7076 9 หลายเดือนก่อน

    666 likes 😅

  • @louieBlaster
    @louieBlaster หลายเดือนก่อน

    Tried it, don't like it

  • @CristianKirk
    @CristianKirk 10 หลายเดือนก่อน +4

    Tailwind is freaking horrible. You have to call 10 classes when you only need to call one or none if you do a proper styling of HTML tags and/or parent elements. All this speech about "productivity" and doing things as fast as you can makes you look flaky and lazy, makes you look like you don't even care about what you're doing.

    • @developedbyed
      @developedbyed  10 หลายเดือนก่อน +7

      Who upset you?

    • @ВладимирЛеденёв-э6г
      @ВладимирЛеденёв-э6г 10 หลายเดือนก่อน

      No

    • @ethanrogers9627
      @ethanrogers9627 10 หลายเดือนก่อน

      Write a little more up front to save maintenace time later. Output code is still lightning fast so no cost on that end. Why should we optimize for having the fewest CSS classes over write time and page speed?

    • @bn5055
      @bn5055 9 หลายเดือนก่อน +2

      Nope. You have to "call" 10 classes, sure, but 99% of them map to a single property and the rest map to 2 properties. So you're writing the same amount of CSS (which is automatically tree shaken by the way), you're just doing it with less typing, without having to switch back and forth between files, without having to come up with endless class names, and with a ready made design system built in. Hate to say it but it sounds like you're just regurgitating someone else's opinion rather than trying it yourself.

    • @-Jakob-
      @-Jakob- 9 หลายเดือนก่อน

      It isn't ;)

  • @kale_bhai
    @kale_bhai 10 หลายเดือนก่อน

    Because you're noob and everyone is following the same thing like a sheep

  • @apex-lazer
    @apex-lazer 6 หลายเดือนก่อน

    Sequentially is a word. 😊