Styled Components Crash Course & Project

Share
Traversy Media
Published at : 27 Sep 2021
38136 views
1871
10

A small project to get you familiar with using styled components with React

Code:
https://github.com/bradtraversy/huddle_styled_components

Udemy Courses:
https://traversymedia.com

💖 Support The Channel!
https://www.patreon.com/traversymedia
https://paypal.me/traversymedia

Frontend Mentor Challenges:
https://www.frontendmentor.io/

Timestamps:
0:00 - Intro
2:10 - Install & Setup
3:15 - First Styled Component
7:40 - Header Styled Component
9:23 - Nesting
10:27 - Passing Props
11:40 - Theme Provider
14:07 - Global Styles
16:28 - Project

styled componentsstyled-componentsreact styled components

EVIL DAUGHTER Gets Rid of STEPMOM!!!! YOU WON'T BELIEVE How This Ends!!!!

EVIL DAUGHTER Gets Rid of STEPMOM!!!! YOU WON'T BELIEVE How This Ends!!!!

BUSTED: Dems' Amnesty Scheme Foiled | Bill O'Reilly

BUSTED: Dems' Amnesty Scheme Foiled | Bill O'Reilly

Chase Taylor: Long-Term Debt Cycle Coming to an End

Chase Taylor: Long-Term Debt Cycle Coming to an End

K-391 & LINKO (Feat. Mentum) - Go Home

K-391 & LINKO (Feat. Mentum) - Go Home

Letting the PERSON IN FRONT of us decide what WE EAT

Letting the PERSON IN FRONT of us decide what WE EAT

Naxos.. It has a multitude of beautiful beaches! Discover Greece.ru

Naxos.. It has a multitude of beautiful beaches! Discover Greece.ru

KOREAN CUISINE -food is excellent

KOREAN CUISINE -food is excellent

Providing a Home Through Dance

Providing a Home Through Dance

Iraqi camps struggle to aid Mosul's displaced

Iraqi camps struggle to aid Mosul's displaced

ASPECT Alberta Stroke Program Early CT Score

ASPECT Alberta Stroke Program Early CT Score

ITY AND FANCY CAT TAKES ON POLITICIANS AT GORDON HOUSE

ITY AND FANCY CAT TAKES ON POLITICIANS AT GORDON HOUSE

Results of the Jean Paul Raid | GTA RP NoPixel 3.1

Results of the Jean Paul Raid | GTA RP NoPixel 3.1

Complication exclusivite et nouveaute film nigerian en francais complet 2021 nollywood

Complication exclusivite et nouveaute film nigerian en francais complet 2021 nollywood

Brexit Media Seem Hesistant About Article 16 Trigger

Brexit Media Seem Hesistant About Article 16 Trigger

Prime Minister Imran Khan's Visit Low Cost Apartments Development Site.

Prime Minister Imran Khan's Visit Low Cost Apartments Development Site.

Analogous Systems

Analogous Systems

Row Row Row Your Boat | CoComelon Nursery Rhymes & Kids Songs

Row Row Row Your Boat | CoComelon Nursery Rhymes & Kids Songs

iTunes Chart TOPPED By Anti-Biden Song Titled 'Let's Go, Brandon', Biden Is HUGELY Unpopular

iTunes Chart TOPPED By Anti-Biden Song Titled 'Let's Go, Brandon', Biden Is HUGELY Unpopular

My 12 Sources of Income at Age 30

My 12 Sources of Income at Age 30

How to communicate such as a native   taught by the most famous teacher Mr Michael

How to communicate such as a native taught by the most famous teacher Mr Michael

From Nike SNKRS APP to the Nike Outlets

From Nike SNKRS APP to the Nike Outlets

Manifesting on a TIME CRUNCH | Manifest by a SPECIFIC DATE | Get your SPECIFIC PERSON WHEN you WANT

Manifesting on a TIME CRUNCH | Manifest by a SPECIFIC DATE | Get your SPECIFIC PERSON WHEN you WANT

A REVOLUTIONARY ACT

A REVOLUTIONARY ACT

Bug Catching at home Pretend play with Wendy Eric and Liam

Bug Catching at home Pretend play with Wendy Eric and Liam

MANY, MUCH, A LOT OF, & LOTS OF | Grammar Deep Dive with Common Quantifiers

MANY, MUCH, A LOT OF, & LOTS OF | Grammar Deep Dive with Common Quantifiers

a week in my life: slow days at college, falling in love, & self-care // vlog 019

a week in my life: slow days at college, falling in love, & self-care // vlog 019

Evergrande Pays Delayed Interest

Evergrande Pays Delayed Interest

Peppa Pig Official Channel 🦖 George Can't Play with His New Dinosaur

Peppa Pig Official Channel 🦖 George Can't Play with His New Dinosaur

Omicron symptoms "totally different" from Delta COVID-19 variant: South African doctor

Omicron symptoms "totally different" from Delta COVID-19 variant: South African doctor

Desired To Love - Trailer

Desired To Love - Trailer

N.T. Wright - After you Believe: Why Christian Character Matters

N.T. Wright - After you Believe: Why Christian Character Matters

Watch Biden Beg to Increase the Debt Limit & Maintain Insane Spending | DM CLIPS | Rubin Report

Watch Biden Beg to Increase the Debt Limit & Maintain Insane Spending | DM CLIPS | Rubin Report

The Features - Off Track

The Features - Off Track

All of Lebanon without power due to fuel shortage | DW News

All of Lebanon without power due to fuel shortage | DW News

Tai Verdes - we would have some cute kids. (Lyric Video)

Tai Verdes - we would have some cute kids. (Lyric Video)

War Begins (Dec 18,2021) 600 of UK Troops Deployed at Ukraine border

War Begins (Dec 18,2021) 600 of UK Troops Deployed at Ukraine border

Alphabet Inc. (GOOGL): Fast Fundamental Analysis | FAST Graphs

Alphabet Inc. (GOOGL): Fast Fundamental Analysis | FAST Graphs

How to Renew Temporary Residence Card Online 2020 - TRC Renewal #Portugal

How to Renew Temporary Residence Card Online 2020 - TRC Renewal #Portugal

TIKTOK is funny

TIKTOK is funny

Top 10 Alaska Urban Legends TOO REAL To Ignore

Top 10 Alaska Urban Legends TOO REAL To Ignore

SWISS🇨🇭 Airbus A340-300 LOW VISIBILITY Landing at Tokyo Narita🇯🇵

SWISS🇨🇭 Airbus A340-300 LOW VISIBILITY Landing at Tokyo Narita🇯🇵

Retailer LEAKED Final Fantasy 9 REMAKE & Tactics REMASTER

Retailer LEAKED Final Fantasy 9 REMAKE & Tactics REMASTER

Kaam Nahi Bana To Friends Ki Yaad Aayi..

Kaam Nahi Bana To Friends Ki Yaad Aayi..

Wedbush's Dan Ives says he continues to buy the winners in tech

Wedbush's Dan Ives says he continues to buy the winners in tech

They Surely Are Cute✨🥺! Taekook #bts

They Surely Are Cute✨🥺! Taekook #bts

Expensive blue crystal. I found the home of Colorful Crystal!

Expensive blue crystal. I found the home of Colorful Crystal!

Global National: Nov. 5, 2021 | BC judge rules Edward Rogers' board overhaul is valid

Global National: Nov. 5, 2021 | BC judge rules Edward Rogers' board overhaul is valid

ShowOff || Official Rap Song || Faheem Khan

ShowOff || Official Rap Song || Faheem Khan

Así de fácil es el FUTURO PERFECTO en forma Afirmativa, Negativa e Interrogativa

Así de fácil es el FUTURO PERFECTO en forma Afirmativa, Negativa e Interrogativa