The Best Next.js 13.4 UI Library (shadcn/ui Setup and Tutorial)

  Рет қаралды 24,748

Cooper Codes

Cooper Codes

Күн бұрын

Пікірлер: 45
@geraldsy
@geraldsy Жыл бұрын
what an awesome tutorial! very clear and you have covered everything from scratch! any newbie can follow this til the end! Thank you so much
@CooperCodes
@CooperCodes Жыл бұрын
Thanks so much for the comment Gerald, glad it was helpful :)
@kamaliddinsattorov7493
@kamaliddinsattorov7493 Жыл бұрын
I love the tutorial. Thank you very much for sharing your knowledge with the world. If possible, please, make a tutorial on how to create a full-stack app using ShadCN-UI. I ve been looking for such a tutorial for a long time, but there is none.
@localmktr1041
@localmktr1041 8 ай бұрын
@kamaliddinsattorov7493 did you find a good tutorial for this?
@splattelol
@splattelol Жыл бұрын
The timing couldn't be better. Common Cooper W
@CooperCodes
@CooperCodes Жыл бұрын
I forgot to reply to this, I'm a noob. You are the goat bro I appreciate the comments!
@leoprimo123
@leoprimo123 Жыл бұрын
Awesome lil tutorial! Maybe next go in-depth on customization?
@paulthomas1052
@paulthomas1052 Жыл бұрын
Great tutorial - this shadcn library looks great ! - thanks.
@elmcapp6032
@elmcapp6032 Жыл бұрын
Nice. It has a macOS look to it. I like the menu bar. I wish there was a tree view or list component
@alext5497
@alext5497 Жыл бұрын
I tried to get mantine to work with next for 13 when 13 first came out. Gave up after 3 full days. Was fun
@CooperCodes
@CooperCodes Жыл бұрын
Hahaha yeah my guy a bunch of the libraries broke with the new app directory stuff, I went through a handful of options and found this library to be the best so thought I'd share here to help others :)
@rtorcato
@rtorcato Жыл бұрын
Mantine also doesn’t work well with tailwind
@ankit.chaurasia
@ankit.chaurasia Жыл бұрын
Mantine just need to add use client to all their components just like shadcdn did. Manually doing it is such a drag
@alext5497
@alext5497 Жыл бұрын
@Ankit Chaurasia if you use client on your layout, your entire app becomes client side, and at that point, just use a spa and react.
@ankit.chaurasia
@ankit.chaurasia Жыл бұрын
@@alext5497 Ofc using use client in layout is dumbest thing to do. Just export custom component with use client on top and use on layout. Look at shadcdn repo they use "use client" to all their components.
@chuksvalentine3735
@chuksvalentine3735 Жыл бұрын
I love your videos. Could you please do a small Next.js 13 project video using this Shadcn UI, will be highly appreciated
@thecodeconfesses256
@thecodeconfesses256 Жыл бұрын
I really liked your video. you doing good work. keep it up.
@omarkraidie
@omarkraidie Жыл бұрын
shadcn/ui seems amazing and eazy to use! What about styling those components is it easy (eg. bg color text color)? Or is it not recommended?
@lalit5408
@lalit5408 Жыл бұрын
It is easy. You've access to direct code, you can modify it however you like. Also shadcn ui ships with clsx and tailwind merge, for handling conditional styles.
@omarkraidie
@omarkraidie Жыл бұрын
@@lalit5408 Thanks for the reply! Yeah I watched a bunch of videos on yt and learned that you can easily indeed modify the css :)
@faizanahmed9304
@faizanahmed9304 Жыл бұрын
Thank you Cooper!
@karamcsand
@karamcsand Жыл бұрын
Looked great. Then I checked shadcn and Radix....quite bad experience. I followed the steps but there are big holes in the startup tutorial and I get errors quite early. I don't get the hype around shadcn. It is not a gamechanger, it is just another tool. Which has bugs. Now I go to other libraries to check how they perform
@miro0o92
@miro0o92 Жыл бұрын
Can we use the shadcn/ui without typescript or so to say with javascript only
@maybeomuamua
@maybeomuamua Жыл бұрын
i have same question
@Legendman234
@Legendman234 Жыл бұрын
awesome, thanks!
@Shubham-yc6nz
@Shubham-yc6nz Жыл бұрын
Hey is there any other library which can work great with Next 13 app directory
@vanshshah7781
@vanshshah7781 Жыл бұрын
Thank you
@musaddikrayat
@musaddikrayat Жыл бұрын
So, nobody is recognizing radix-ui but shadcnui which itself is built on top of radix?
@CooperCodes
@CooperCodes Жыл бұрын
During the intro I literally explain Radix UI and how shadcnui uses it to enable better functionality and accessibility features. 0_0
@itamarsharify
@itamarsharify Жыл бұрын
Wait. If the components use 'use client' they are client rendered.... so this library does not really do SSR... am I wrong?
@CooperCodes
@CooperCodes Жыл бұрын
kzbin.info/www/bejne/onvbhmZja5Z5aKs This vid is a good overview of how to understand server vs client components. The idea is that things that do not include client functionality (For example, all the text in a blog post) can be rendered on the server, but inside of that blog post you can have Buttons which are client components (As they need to have client side things such as onClick events). A design principle I plan to discuss further in a future video is imagine your components in a tree like structure, where the nodes at the bottom (or the leaves if you are familiar) are client components. This is kinda just an overview but I hope it helps. This structure means that everything above your client components gets rendered on the server, but as soon as you need client functionality you render it (in isolation) on the client. Lets say you have a landing page with a calendar component for users to sign up for a service. The calendar itself a client component, but the text around it, the navbar, the footer, and all those things can all be rendered on the server. This library itself only uses client components when it needs client functionality (like with the calendar for example).
@aplusphilic
@aplusphilic Жыл бұрын
Out of curiosity can this be used on other react frameworks say remix or just NextJS? Is it just examples are made with NextJS or the only works with NextJS?
@oktoberlintampubolon4904
@oktoberlintampubolon4904 Жыл бұрын
Yes, you can use it for any react frameworks. The shadcn ui library is actually on top on tailwind. It means that as long you configure your tailwind correctly, the shadcn ui will override your tailwind config file only, not the other files config inside react or react framework project. You just need to be aware of the path for ui component. the docs mentioned that the component added is normally put inside the components/ui folder.
@aaron6822
@aaron6822 Жыл бұрын
doesn't shadcn specifically say they are not a library???
@RubenKannan
@RubenKannan 11 ай бұрын
Whenever I see .ts or .tsx I run far away from the library 🥰🥰 It's probably just me.
@meilyn22
@meilyn22 Жыл бұрын
This process makes me appreciate MUI more.
@aryan.prince
@aryan.prince 10 ай бұрын
both do different things. MUI is good if you just want a nice component library, shadcn-ui is better if you want a nice component library - but then later have the choice to fully customize every single component to match your brand style can’t do that with MUI
@StephenRayner
@StephenRayner Жыл бұрын
SurrealDB
@DavidWTube
@DavidWTube Жыл бұрын
Lie berry.
@CooperCodes
@CooperCodes Жыл бұрын
Real talk where the truth berry at 👀🤔
@DavidWTube
@DavidWTube Жыл бұрын
@CooperCodes lmao you're good chit man!
My New Favorite Next.js 13 UI Library (Radix UI Themes)
18:01
Cooper Codes
Рет қаралды 12 М.
shadcn/ui - Theming Wrapped in a Tailwind Plugin/Preset
30:14
simonswiss
Рет қаралды 48 М.
Je peux le faire
00:13
Daniil le Russe
Рет қаралды 22 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3 МЛН
Why I Don't Use NextJS For My Side Project Anymore
6:51
Josh tried coding
Рет қаралды 71 М.
Introduction To Svelte Runes (Every Svelte Rune Explained)
12:36
Cooper Codes
Рет қаралды 3,8 М.
Learn Next.js 13.4 Server Actions in 24 minutes (For beginners)
24:45
THIS REACT UI LIBRARY CHANGES EVERYTHING 🤯
8:03
midulive
Рет қаралды 102 М.
Next.js 13 App Router And Mui v5 Setup Tutorial
14:55
SimulShift Web
Рет қаралды 13 М.
Create Form and Validation With Shadcn UI | NextJs 13
43:53
Cand Dev
Рет қаралды 33 М.
Reusable Modals with Radix UI
14:31
Sam Selikoff
Рет қаралды 20 М.
Shadcn + Next.js 13 is HEAVEN | A QUICK GUIDE
13:30
developedbyed
Рет қаралды 136 М.
Learn Next.js 13 With This One Project
29:42
Web Dev Simplified
Рет қаралды 382 М.