Styled Components Crash Course & Project

Share this & earn $10
Traversy Media
Published at : 26 Oct 2021
56329 views
2377
13

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

Mos Def - Mathematics

Mos Def - Mathematics

Managed Virtual Networks and Private Endpoints in Azure Synapse and Azure Data Factory

Managed Virtual Networks and Private Endpoints in Azure Synapse and Azure Data Factory

G Herbo - Statement (Official Music Video)

G Herbo - Statement (Official Music Video)

Kizz Daniel, Philkeyz - Nesesari (Official Video)

Kizz Daniel, Philkeyz - Nesesari (Official Video)

The Truth About The Ordinary

The Truth About The Ordinary

Best of: Ο πιο αδύναμος κρίκος κρίκου | Luben TV

Best of: Ο πιο αδύναμος κρίκος κρίκου | Luben TV

15 NATURAL ALOE REMEDIES YOU MUST KNOW

15 NATURAL ALOE REMEDIES YOU MUST KNOW

LIVE: NBC News NOW - October 12

LIVE: NBC News NOW - October 12

I BUILD MY OWN STATUE | MINECRAFT GAMEPLAY #77

I BUILD MY OWN STATUE | MINECRAFT GAMEPLAY #77

HILARIOUS Dancer Gets GOLDEN BUZZER By Accident On America's Got Talent 2019! | Got Talent Global

HILARIOUS Dancer Gets GOLDEN BUZZER By Accident On America's Got Talent 2019! | Got Talent Global

It Started Out

It Started Out

원어민들이 though를 쓰는 법! (왜 이렇게 많이 쓰일까?)

원어민들이 though를 쓰는 법! (왜 이렇게 많이 쓰일까?)

BIG SÉLECTION SAPPES STREETWEAR DU MOMENT ! (Carhartt, Uniqlo, Thisisneverthat...)

BIG SÉLECTION SAPPES STREETWEAR DU MOMENT ! (Carhartt, Uniqlo, Thisisneverthat...)

Shaen - A Few Years From Now (Original Mix)

Shaen - A Few Years From Now (Original Mix)

Google Sheets QUERY Function Tutorial - SELECT, WHERE, LIKE, AND, OR, LIMIT statements - Part 1

Google Sheets QUERY Function Tutorial - SELECT, WHERE, LIKE, AND, OR, LIMIT statements - Part 1

James Arthur - Impossible (Official Video)

James Arthur - Impossible (Official Video)

Love'n'Joy - Come About (Official Music Video)

Love'n'Joy - Come About (Official Music Video)

DIY Upholstery projects you may want to try for your new home

DIY Upholstery projects you may want to try for your new home

Caribou Found Out

Caribou Found Out

Blaiz Fayah & Tribal Kush - Bad (Official Music Video)

Blaiz Fayah & Tribal Kush - Bad (Official Music Video)

I$WAAL - STANDARD

I$WAAL - STANDARD

How the 'Great Resignation' is impacting workers who stay on the job

How the 'Great Resignation' is impacting workers who stay on the job

Songs I’d like to be politely railed to [Slowed Playlist]

Songs I’d like to be politely railed to [Slowed Playlist]

Disney Pixar Incredibles 2 Party Mr. Incredible, Elastigirl, Violet, Dash, and Jack Jack Costumes!

Disney Pixar Incredibles 2 Party Mr. Incredible, Elastigirl, Violet, Dash, and Jack Jack Costumes!

Deep Purple "7 And 7 Is" - Official Music Video - New album "Turning To Crime" out Nov 26

Deep Purple "7 And 7 Is" - Official Music Video - New album "Turning To Crime" out Nov 26

LOSE 10 lbs Permanently in 5 Weeks, 5 Must Do Steps

LOSE 10 lbs Permanently in 5 Weeks, 5 Must Do Steps

6 Habits To Improve Yourself

6 Habits To Improve Yourself

Examine Yourself - Paul Washer

Examine Yourself - Paul Washer

Beautiful Mix of Deep Space Images - Sleep and Relax Music Screensaver

Beautiful Mix of Deep Space Images - Sleep and Relax Music Screensaver

Is.. Is that a human snek?

Is.. Is that a human snek?

How do tariffs work? | CNBC Explains

How do tariffs work? | CNBC Explains

BLUE VS PINK ✨ CHOOSE YOUR GIFT 🎁❤️✨

BLUE VS PINK ✨ CHOOSE YOUR GIFT 🎁❤️✨

Count to 20 Forward and Backwards | Jack Hartmann

Count to 20 Forward and Backwards | Jack Hartmann

Wholesome Tik Toks That Will Make Your Day Better

Wholesome Tik Toks That Will Make Your Day Better

Gym Class Heroes - Cupid's Chokehold (Lyrics) ft.Patrick Stump “Take a look at my girlfriend she’s"

Gym Class Heroes - Cupid's Chokehold (Lyrics) ft.Patrick Stump “Take a look at my girlfriend she’s"

Linking words describing Result: As a result, Consequently, Thus, Therefore, So, That’s why

Linking words describing Result: As a result, Consequently, Thus, Therefore, So, That’s why

Right combination Duet, seiko matsuda & donnie warlhberg With Lyrics

Right combination Duet, seiko matsuda & donnie warlhberg With Lyrics

1 - Surja El-Bekareh - Mahir Al-Muakily

1 - Surja El-Bekareh - Mahir Al-Muakily

Because of this Tusk raid was wiped

Because of this Tusk raid was wiped

HOW I GOT RID OF "POP ITS" IN THE HOUSE (Funny Sketch)

HOW I GOT RID OF "POP ITS" IN THE HOUSE (Funny Sketch)

This CAN'T be the Real Fred?! FIFA 22 RTTK Fred Pack & Play w/@KIRBZ

This CAN'T be the Real Fred?! FIFA 22 RTTK Fred Pack & Play w/@KIRBZ

Favoured (Favored) - Planetshakers (Worship with lyrics)

Favoured (Favored) - Planetshakers (Worship with lyrics)

North Korea claims hypersonic missile launch

North Korea claims hypersonic missile launch

AS IT IS - Often (Acoustic)

AS IT IS - Often (Acoustic)

Holy Holy Holy Lord God Almighty  .. [Agnus Dei]

Holy Holy Holy Lord God Almighty .. [Agnus Dei]

According To & In Terms Of [Advanced English Vocabulary]

According To & In Terms Of [Advanced English Vocabulary]

Embrace - Gravity (Official HD Video)

Embrace - Gravity (Official HD Video)

Atypical | Official Trailer [HD] | Netflix

Atypical | Official Trailer [HD] | Netflix

The Six-Month Road Map for Ensuring Macroeconomic & Financial System Stability

The Six-Month Road Map for Ensuring Macroeconomic & Financial System Stability