Why I Pick ShadCN and Tailwind for all my projects

Поділитися
Вставка
  • Опубліковано 23 вер 2024
  • Next 14 Course Coming Soon 🔥
    developedbyed....
    Tools and resources ⛏️
    tailwindcss.com/
    ui.shadcn.com/
    getbootstrap.com/
    mui.com/
    styled-compone...
    🛴 Follow me on:
    Twitch: / developedbyed
    Twitter: / developedbyed
    Instagram: / developedbyed
    Github: github.com/dev...
    #programming #react

КОМЕНТАРІ • 115

  • @JJohnson-fy9uz
    @JJohnson-fy9uz 8 місяців тому +35

    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 8 місяців тому +2

      Good point!

    • @developedbyed
      @developedbyed  8 місяців тому +12

      Great point! I’ll pin it

    • @fitimbytyci345
      @fitimbytyci345 8 місяців тому +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 8 місяців тому +14

      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 7 місяців тому

      @@developedbyed care to answer honey bun?

  • @developedbyed
    @developedbyed  8 місяців тому +59

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

    • @o_glethorpe
      @o_glethorpe 8 місяців тому +29

      What a silly question, in of course

    • @denniskarg
      @denniskarg 8 місяців тому +12

      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 8 місяців тому +7

      In, for sure🚀

    • @myanimebase6486
      @myanimebase6486 8 місяців тому +5

      Definitely in, I love your expressions

    • @ezrawebdev
      @ezrawebdev 8 місяців тому +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

  • @Logicmontana
    @Logicmontana 8 місяців тому +26

    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 7 місяців тому +4

    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.

  • @ilkou
    @ilkou 8 місяців тому +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 8 місяців тому +3

    really excited too see ur next14 course buddy

  • @scottclarke953
    @scottclarke953 8 місяців тому +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. 👍👍👍👍👍

  • @LennartBe
    @LennartBe 8 місяців тому +3

    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

  • @juanmacias5922
    @juanmacias5922 8 місяців тому +1

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

  • @selectorsaurus
    @selectorsaurus 8 місяців тому +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 8 місяців тому

      Same here 😁

    • @Pavel555
      @Pavel555 Місяць тому

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

  • @sumonchandra5992
    @sumonchandra5992 7 місяців тому

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

  • @maddog2622
    @maddog2622 8 місяців тому +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?

  • @everythingisfine9988
    @everythingisfine9988 7 місяців тому

    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 🤝

  • @EL_PANDA_742
    @EL_PANDA_742 8 місяців тому +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.

    • @Pavel555
      @Pavel555 Місяць тому

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

  • @Pavel555
    @Pavel555 Місяць тому

    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?

  • @rootrotingross7783
    @rootrotingross7783 22 дні тому

    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

  • @maxim_mazurok
    @maxim_mazurok 18 днів тому

    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

  • @ReynardNathaniel
    @ReynardNathaniel 6 місяців тому

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

  • @erinmcgowan7980
    @erinmcgowan7980 27 днів тому

    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.

  • @HilaryCheng
    @HilaryCheng 4 місяці тому

    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............ -_-.

  • @TheZhouh12
    @TheZhouh12 7 місяців тому +1

    how about nextui

  • @frenchmike
    @frenchmike 2 місяці тому

    i wish shadcn had sidebar components

  • @brancode404
    @brancode404 8 місяців тому

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

  • @sukhrob-abdullaev
    @sukhrob-abdullaev 7 місяців тому

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

  • @saviogmz1734
    @saviogmz1734 8 місяців тому

    What vscode theme is that? Looks beautiful

  • @_.-AAA-._
    @_.-AAA-._ 3 місяці тому

    Tailwind is inline styles with extra steps.

    • @somedude6420
      @somedude6420 2 місяці тому

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

  • @DevGio
    @DevGio 8 місяців тому

    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

  • @whoisshahmeer
    @whoisshahmeer 7 місяців тому

    Which theme are you using man?

  • @neilmerchant2796
    @neilmerchant2796 8 місяців тому +1

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

  • @scott_itall8638
    @scott_itall8638 8 місяців тому

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

    • @bn5055
      @bn5055 7 місяців тому +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 7 місяців тому

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

    • @enitan2002
      @enitan2002 7 місяців тому

      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 7 місяців тому

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

  • @sohaibnoyyan8172
    @sohaibnoyyan8172 8 місяців тому

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

  • @clintkennedy8387
    @clintkennedy8387 5 місяців тому

    The background music is distracting

  • @jaroslavhuss7813
    @jaroslavhuss7813 8 місяців тому +3

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

    • @developedbyed
      @developedbyed  8 місяців тому +6

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

    • @josephmgift
      @josephmgift 8 місяців тому +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 8 місяців тому +1

      what the pros of daisy ui

    • @bn5055
      @bn5055 7 місяців тому

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

    • @jaroslavhuss7813
      @jaroslavhuss7813 7 місяців тому

      @@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...

  • @codewithguillaume
    @codewithguillaume 8 місяців тому

    very nice

  • @خالد-ش6ل6ذ
    @خالد-ش6ل6ذ 8 місяців тому

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

    • @developedbyed
      @developedbyed  8 місяців тому +1

      Material theme palenight!

    • @BReal890
      @BReal890 8 місяців тому

      and the font?

  • @LukeRoberts1979
    @LukeRoberts1979 4 місяці тому

    I'm confused Isn't this now Bootstrap?

    • @Pavel555
      @Pavel555 Місяць тому

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

  • @karan_panwar
    @karan_panwar 8 місяців тому

    You create great video tutorials. ❤🎉

  • @fanxxai
    @fanxxai 7 місяців тому

    I think shadCN 📱 is trending

  • @elie3423
    @elie3423 4 місяці тому

    Hmmm, module css.

  • @alexkonoplian
    @alexkonoplian 7 місяців тому

    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 Місяць тому

      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 Місяць тому

      @@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.

  • @janakaone
    @janakaone 18 днів тому +1

    Anyone using jQuery UI 👇

  • @sammaxjorden
    @sammaxjorden 8 місяців тому

    ily

  • @boniedwin
    @boniedwin 7 місяців тому

    mantine ftw

  • @tylim88
    @tylim88 8 місяців тому

    mantine is the best

  • @alexandergeorgesquire220
    @alexandergeorgesquire220 Місяць тому

    Absolute waffle

  • @Taras3D
    @Taras3D 8 місяців тому

    🔥🔥🔥

  • @stevemolele6902
    @stevemolele6902 8 місяців тому

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

  • @fwdflashwebdesign
    @fwdflashwebdesign 7 місяців тому

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

    • @Pavel555
      @Pavel555 Місяць тому +1

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

    • @fwdflashwebdesign
      @fwdflashwebdesign Місяць тому

      @@Pavel555 Yes it can already prety much everything!

    • @Pavel555
      @Pavel555 17 днів тому

      @@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.

  • @ts8960
    @ts8960 6 місяців тому +1

    MUI is the best

  • @codernerd7076
    @codernerd7076 7 місяців тому

    666 likes 😅

  • @CristianKirk
    @CristianKirk 8 місяців тому +3

    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  8 місяців тому +7

      Who upset you?

    • @ВладимирЛеденёв-э6г
      @ВладимирЛеденёв-э6г 8 місяців тому

      No

    • @ethanrogers9627
      @ethanrogers9627 8 місяців тому

      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 7 місяців тому +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- 7 місяців тому

      It isn't ;)

  • @kale_bhai
    @kale_bhai 8 місяців тому

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

  • @apex-lazer
    @apex-lazer 4 місяці тому

    Sequentially is a word. 😊