Building a React Card Component with TypeScript

  Рет қаралды 8,697

Coding in Public

Coding in Public

Күн бұрын

In this video, we’ll take a Figma card component from design to code with React and Typescript!
🔗 Key Links 🔗
- Github: github.com/coding-in-public/c...
- Demo: codinginpublic.dev/projects/c...
---------------------------------------
📹 Related Videos 📹
- Figma Card: • How to Create a Card C...
---------------------------------------
⏲️ Timestamps ⏲️
0:00 Introduction
1:07 Figma Walkthrough
2:31 Code Setup
5:28 Badge Component
10:26 Style CSS
16:17 Badge CSS
18:24 Button Component
24:41 Button CSS
32:29 Card Component
44:04 Card CSS
48:04 Customizing Cards
---------------------------------------
🎨 VSCode Theming
- Font: Cascadia Code: github.com/microsoft/cascadia...
- Theme: Monokai Pro
- Icons: marketplace.visualstudio.com/...
---------------------------------------
🌐 Connect With Me 🌐
- Website: codinginpublic.dev
- Blog: chrispennington.blog
- Twitter: / cpenned
- Patreon: / coding_in_public
- Buy Me a Coffee: www.buymeacoffee.com/chrispen...

Пікірлер: 23
@CodinginPublic
@CodinginPublic Жыл бұрын
at 29:50 … I don’t know what I was thinking with the toLowercase function. 🤦‍♂I should have just updated the interface like this: type: 'primary' | 'secondary';
@anonymouseverx
@anonymouseverx Жыл бұрын
This tiny card component is one of the best things in your channel. Very educational. Thank you so much, Chris.
@CodinginPublic
@CodinginPublic Жыл бұрын
Awesome! So glad you enjoyed it! It was a lot of fun to put together!
@lvekua
@lvekua Жыл бұрын
I know nothing about React or TS, but your videos explain and cover more learning material than those weird crash courses here on YT. Thank you Chris! 🙌
@CodinginPublic
@CodinginPublic Жыл бұрын
Lol … glad you enjoyed it!
@kdot78
@kdot78 Жыл бұрын
Keep going bro 👍
@CodinginPublic
@CodinginPublic Жыл бұрын
🙏 thanks!
@viniciusm.m.7822
@viniciusm.m.7822 Жыл бұрын
Thanks, man!!
@CodinginPublic
@CodinginPublic Жыл бұрын
You’re welcome!
@pavankumarkr5667
@pavankumarkr5667 Жыл бұрын
I Love your videos 🤩
@CodinginPublic
@CodinginPublic Жыл бұрын
🙌 Thanks for your kind words!
@ogbillity
@ogbillity Жыл бұрын
Reusable components 101. Thank you.
@CodinginPublic
@CodinginPublic Жыл бұрын
you're welcome!
@mahdisalmanizadegan5595
@mahdisalmanizadegan5595 Жыл бұрын
Man i just came across your channel recently and all i can say is that you are awesome, do you have any Figma designing crash course like this one, or do you know any good course ?
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad you’ve enjoyed the channel! I’ve done a few videos on Figma. A few weeks back I designed this card in Figma. I’ve also done a full Figma for Developers video that's essentially a walkthrough of figma. kzbin.info/www/bejne/aJ3Mi2arq7RsmNU
@mahdisalmanizadegan5595
@mahdisalmanizadegan5595 Жыл бұрын
@@CodinginPublic That's amazing, I going to watch the video, thank you bro.
@krascheninnikoviam
@krascheninnikoviam Жыл бұрын
Amazing video!!! what is the program you use for the Google fonts links? is it a plugin in VS?
@CodinginPublic
@CodinginPublic Жыл бұрын
Glad you enjoyed it! It’s called Raycast. It’s a spotlight-like replacement for macOS :)
@ogbillity
@ogbillity Жыл бұрын
Thank you so much. This tutorial helped me create reusable banners in NextJS but I have a huge problem with the button. How do I add the NextJS Link tag to use the href prop in the button?
@ogbillity
@ogbillity Жыл бұрын
Found the answer. I wrapped the button tag with NextJS link tag and passed passhref prop to it.
@CodinginPublic
@CodinginPublic Жыл бұрын
Awesome!
@ogbillity
@ogbillity Жыл бұрын
What VSCode theme are you using?
@CodinginPublic
@CodinginPublic Жыл бұрын
I think I was using Monokai Pro in this video.
This Extension Is A TypeScript Game Changer
0:48
Web Dev Simplified
Рет қаралды 144 М.
Building Better Form Input Defaults
38:56
Coding in Public
Рет қаралды 4,1 М.
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 107 МЛН
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 30 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 19 МЛН
You might not need useEffect() ...
21:45
Academind
Рет қаралды 153 М.
When should you use CSS Grid?
16:17
Coding in Public
Рет қаралды 1,2 М.
Learn React Hooks: useCallback - Simply Explained!
17:15
Cosden Solutions
Рет қаралды 77 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
Un-Suck Your React Components - Composable & Compound Components
15:47
Learn Typescript with React | Quick Crash Course
16:59
developedbyed
Рет қаралды 90 М.
Looks realistic #tiktok
0:22
Анастасия Тарасова
Рет қаралды 30 МЛН
Про арбузик 🍉 #рыбакит #простыерисунки
0:16
ОН МСТИТ ПРОДАВЦУ МОРОЖЕНОГО
0:32
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 6 МЛН