learnreact.com is moving to
school.reactpatterns.com
.
get
50% off
while we move.
Learn React
Log in
Sign up
Subscribe
Style with Components
Learn to compose React components for styling. Whether you prefer CSS, inline-styles, or a CSS-in-JS solution, you can use style components to keep your codebase clean and maintainable.
Lessons:
Get Started
Extract a button component
Compose button components
Merge classname props
Define a button API
Take tag name as a prop
Take component as a prop
Swap CSS framework from bootstrap to Bulma and Foundation