Styled Components Crash Course & Project

Share this & earn $10
Traversy Media
Published at : 24 Oct 2021
55745 views
2357
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

Notably Pink | Pink Panther and Pals

Notably Pink | Pink Panther and Pals

Tilly and Nikita dance Couple's Choice to Revolting Children from Matilda ✨ BBC Strictly 2021

Tilly and Nikita dance Couple's Choice to Revolting Children from Matilda ✨ BBC Strictly 2021

Made Exclusively for Tau Epsilon Mu

Made Exclusively for Tau Epsilon Mu

Amouranth says yes to our idea | The Yard

Amouranth says yes to our idea | The Yard

A fake

A fake

One-on-One with JD: VSS Mani addresses a wide array of investor queries with Axis Capital

One-on-One with JD: VSS Mani addresses a wide array of investor queries with Axis Capital

Monster School : Baby Herobrine Becomes King - Minecraft Animation

Monster School : Baby Herobrine Becomes King - Minecraft Animation

Mobile Phone PHOTOGRAPHY BATTLE REMATCH! - Xiaomi 11T

Mobile Phone PHOTOGRAPHY BATTLE REMATCH! - Xiaomi 11T

Extra Tập 3 - EngSub - VietSub

Extra Tập 3 - EngSub - VietSub

Brownstone - 5 Miles To Empty (Official Video)

Brownstone - 5 Miles To Empty (Official Video)

528Hz Energy CLEANSE Yourself & Your Home - Heal Old Negative Energies From Your House Frequency

528Hz Energy CLEANSE Yourself & Your Home - Heal Old Negative Energies From Your House Frequency

Grocery Shopping Hacks! Save BIG money (no coupons!) + How I grocery shop

Grocery Shopping Hacks! Save BIG money (no coupons!) + How I grocery shop

Think of and Think about / Practice English with Paul

Think of and Think about / Practice English with Paul

Genesis - Land Of Confusion (Official Music Video)

Genesis - Land Of Confusion (Official Music Video)

Biffy Clyro - Flammable (Official Video)

Biffy Clyro - Flammable (Official Video)

Mild Orange - Some Feeling

Mild Orange - Some Feeling

The Pictures - TEARS - LIVE @ The Loft

The Pictures - TEARS - LIVE @ The Loft

From Winning to Learning and Educating Attitude : Sunita Dangol(Miss Newa 2011) : The Storyyellers

From Winning to Learning and Educating Attitude : Sunita Dangol(Miss Newa 2011) : The Storyyellers

Natural Resources for Kids | Teach your kids and students about Earths Natural Resources

Natural Resources for Kids | Teach your kids and students about Earths Natural Resources

Orishas " Represent Cuba" (feat. heather  headley)

Orishas " Represent Cuba" (feat. heather headley)

Jim Rohn Motivation - Take Advantage Of The Opportunity - Best Motivational Speech

Jim Rohn Motivation - Take Advantage Of The Opportunity - Best Motivational Speech

Alzheimer’s Can Look Very Different Than What is Commonly Thought

Alzheimer’s Can Look Very Different Than What is Commonly Thought

Heart Bypass Surgery (CABG)

Heart Bypass Surgery (CABG)

NFL HOF's David Baker's Sudden Retirement Has Led To Some Questions | Pat McAfee Reacts

NFL HOF's David Baker's Sudden Retirement Has Led To Some Questions | Pat McAfee Reacts

There is no "I"

There is no "I"

All Things Are Possible

All Things Are Possible

Use The Power of Silence

Use The Power of Silence

Allegro Feat. L.V., Fresh Game & Cokni O'Dire - Someone Else

Allegro Feat. L.V., Fresh Game & Cokni O'Dire - Someone Else

Rod Wave -  Rags2Riches 2 ft Lil Baby (Official Music Video)

Rod Wave - Rags2Riches 2 ft Lil Baby (Official Music Video)

QUI DE NOUS A LE PLUS GROS SALAIRE YOUTUBE ?

QUI DE NOUS A LE PLUS GROS SALAIRE YOUTUBE ?

Journey - Don’t Stop Believin’ (Escape Tour 1981: Live In Houston)

Journey - Don’t Stop Believin’ (Escape Tour 1981: Live In Houston)

Mega-Sized USA Fair Food!! Minnesota State Fair Food Factories!!

Mega-Sized USA Fair Food!! Minnesota State Fair Food Factories!!

REMARK - Falling (Official Music Video)

REMARK - Falling (Official Music Video)

The Tension of Loyalty - Sarah Jakes Roberts

The Tension of Loyalty - Sarah Jakes Roberts

The Hairy Ball Theorem

The Hairy Ball Theorem

ALL & SUNDRY Proberaum Session - Stories

ALL & SUNDRY Proberaum Session - Stories

What is BY-PRODUCT? What does BY-PRODUCT mean? BY-PRODUCT meaning, definition & explanation

What is BY-PRODUCT? What does BY-PRODUCT mean? BY-PRODUCT meaning, definition & explanation

At the Hotel Conversation:  Making Complaints

At the Hotel Conversation: Making Complaints

SEO For Beginners: A Basic Search Engine Optimization Tutorial for Higher Google Rankings

SEO For Beginners: A Basic Search Engine Optimization Tutorial for Higher Google Rankings

A Regrettable Office Cartoon

A Regrettable Office Cartoon

Many Voters Like Both Burke, James

Many Voters Like Both Burke, James

You'll Want to Play With This Food

You'll Want to Play With This Food

Zigaloo - Dino Song for KIDS | Zigaloo LooLoo Baby Song | LooLoo KIDS

Zigaloo - Dino Song for KIDS | Zigaloo LooLoo Baby Song | LooLoo KIDS

Z7 1400% Double buffed LF Frieza is OUTSTANDING!!!

Z7 1400% Double buffed LF Frieza is OUTSTANDING!!!

Couple in financial ruin as business dream goes bust | A Current Affair

Couple in financial ruin as business dream goes bust | A Current Affair

WHO MOST LIKELY *with BIG HEADS* Challenge w/The Norris Nuts

WHO MOST LIKELY *with BIG HEADS* Challenge w/The Norris Nuts

Robocar POLI 1 Hour Clip | You Should Look Carefully | Cartoon for Kids | Robocar POLI TV

Robocar POLI 1 Hour Clip | You Should Look Carefully | Cartoon for Kids | Robocar POLI TV

DAILY LEVEL #54 | Geometry Dash 2.1 - "Identification" by Tedesco96 | GuitarHeroStyles

DAILY LEVEL #54 | Geometry Dash 2.1 - "Identification" by Tedesco96 | GuitarHeroStyles

Mengfei Comes Across 01(Gina,JiroWang)

Mengfei Comes Across 01(Gina,JiroWang)