Not exactly sure why I had “px-0” … should have been “p-0”
@pedapudiraviteja7388
3 ай бұрын
Why is this video so goddamn underrated? Clear and precise explanation for CVA. Keep going ♥.
@CodinginPublic
3 ай бұрын
Thanks, my friend. Glad it was a help!
@andrewc8125
Жыл бұрын
Started using cva like a month ago. It just changed my dev life. Especially great with server component. Awesome content!
@CodinginPublic
Жыл бұрын
It really is a sneaky-amazing tool!
@starlord7526
Жыл бұрын
what do you mean by server component? Is it the one mentioned along with Next?
@CodinginPublic
Жыл бұрын
@@starlord7526 Server side rendering I think is his point. The server can render the route as it’s hit.
@martinadrianenghoy9937
Жыл бұрын
Thanks for the awesome video, Chris, as always! Would also like to ask if you're looking to setup possibly a Discord server in the near future? Would definitely love a community for your channel! 💖
@CodinginPublic
Жыл бұрын
Thanks! Glad you enjoyed it! I’ve considered it; just not sure how many would be interested? Let me throw a poll up.
@yudhapmksss
7 ай бұрын
Hi, can i use this library for javascript?
@CodinginPublic
7 ай бұрын
I think so? It's just strings, so you should be able to process anything if you just want strings?
@rafeeqshaik7355
Жыл бұрын
How to style child components, which does not inherit styles or in React native using native wind library. When creating a button or a card, the children does not inherit parent styles.
@CodinginPublic
Жыл бұрын
I’d just style them directly when you write the child components. Or maybe I’m misunderstanding?
@zakariabelhadj8673
Жыл бұрын
Let's go!
@MeikaiBry
10 ай бұрын
Great video I was wondering what exactly cva does in shadcn's components
@CodinginPublic
10 ай бұрын
Yeah it’s pretty cool. They use it the same way I did here. Being react components you get forward refs and react types. But same idea. If you install a component you’ll see the structure.
@MRYesaga
8 ай бұрын
Thank you a lot. Could not donate money. But just wanted to thank you for your endeavor.
@CodinginPublic
7 ай бұрын
Thanks so much, my friend! Really appreciate the kind words!
@weihyac
4 ай бұрын
Thank you
@CodinginPublic
4 ай бұрын
You're welcome
@kelvinpraises
5 ай бұрын
Thanks!!!
@CodinginPublic
5 ай бұрын
You’re welcome!
@PhuocNguyen-zp5jm
10 ай бұрын
First argument of cva is not suggest type of tailwind, className (like className in div prop) Anyone can help me this case, pls ? tks
@CodinginPublic
10 ай бұрын
Just need to update your VSCode settings as shown here: cva.style/docs/getting-started/installation#intellisense Let me know if that doesn’t help.
@PhuocNguyen-zp5jm
10 ай бұрын
@@CodinginPublic Ohh tks you, this is my mistake, its work. But i got new issue when i use "var" like this (data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)]) in cva, this suggest will not working -_- . I'm still figuring out and fix this Using : shadcn UI If you any solotion for this, pls tell me Tks for your help 🤗
@CodinginPublic
10 ай бұрын
Ah! I don't have a solution, but I'm sure there is one! The underscores don't help for the spaces?@@PhuocNguyen-zp5jm
@PhuocNguyen-zp5jm
10 ай бұрын
@@CodinginPublic Ahh, i think regex setting cva json is missing for "var" , i just remove "var" and sugg will be showing Yep, i forgot tailwind will automatically add "var(...)" in final value when we use double underscores in "arbitrary values" data-[swipe=end]:translate-x-[- -radix-toast-swipe-end-x]. All goods, for now 🤣. Thanks for your time, have a good day 😄.
@bobdpa
11 ай бұрын
Awesome video and thanks so much for the finished code!
@CodinginPublic
11 ай бұрын
So glad you enjoyed it!
@TytusDubel
Жыл бұрын
Hi Chris, any news on your Astro Course?
@CodinginPublic
Жыл бұрын
Hoping to do an early release before the end of the year.
@DanteMishima
Жыл бұрын
Here we go!
@elenamikhaylova5086
8 ай бұрын
good video, thanks!
@CodinginPublic
8 ай бұрын
You're welcome!
@senseicodes
Жыл бұрын
Awesome video!
@CodinginPublic
Жыл бұрын
So glad you enjoyed it!
@senseicodes
Жыл бұрын
I learnt a lot!@@CodinginPublic
@ardhikaryzha317
11 ай бұрын
how to add color?
@CodinginPublic
11 ай бұрын
I'd just add another option like “style” or something like that next to varient/intent, size, etc. Then you can reference that option when invoking the button.
Пікірлер: 39