---
title: "Discussion on \"How to use Styled Components and why to use styled components?\" | Hashnode"
description: "Discussion on \"How to use Styled Components and why to use styled components?\". In this blog, we will answer two questions about how and why to use Styled components to style react components.\nInstallation\n\nTo install styled components use the following command\n  npm \n  npm install styled-components\n\n  yarn\n  yarn add styled-com..."
url: "https://hashnode.com/posts/how-to-use-styled-components-and-why-to-use-styled-components/65b4dfaa613b1d68020abbbf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Styled Components and why to use styled components?](https://deenkumar11.hashnode.dev/how-to-use-styled-components-and-why-to-use-styled-components?utm_source=hashnode&utm_medium=feed)

In this blog, we will answer two questions about how and why to use Styled components to style react components. Installation To install styled components use the following command npm npm install styled-components yarn yarn add styled-com...

Jan 27, 2024 · 3 min read · deenkumar11.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#styled-components](https://hashnode.com/tag/styled-components)
-   [#css](https://hashnode.com/tag/css)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Deen](https://hashnode.com/@Deenkumaran)

@Deenkumaran

  
[View profile](https://hashnode.com/@Deenkumaran)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
