---
title: "Discussion on \"Why I moved from Styled Components to (S)CSS modules\" | Hashnode"
description: "Discussion on \"Why I moved from Styled Components to (S)CSS modules\". A little writeup of my reasons behind moving from Styled Components to SCSS modules, and the benefits I got out of this."
url: "https://hashnode.com/posts/why-i-moved-from-styled-components-to-scss-modules/607914d9a3407a32d70442a2"
---

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

Discussion

# [Why I moved from Styled Components to (S)CSS modules](https://puruvj.hashnode.dev/why-i-moved-from-styled-components-to-scss-modules?utm_source=hashnode&utm_medium=feed)

A little writeup of my reasons behind moving from Styled Components to SCSS modules, and the benefits I got out of this.

Apr 16, 2021 · 9 min read · puruvj.hashnode.dev  
Read the article

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

## Written by

[Puru Vijay](https://hashnode.com/@puruvjdev)

@puruvjdev · Jaipur

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

Web developer

## Responses 4

Markdown supported · ⌘↵ to post

[Victor Ikechukwu](https://hashnode.com/@VickyIkechukwu)

[Apr 20, 2021](https://hashnode.com/posts/why-i-moved-from-styled-components-to-scss-modules/607914d9a3407a32d70442a2/comment/607ec06ceb2bd30d2d22ad61)

To be honest I've never come across such a well detailed and educative article [Puru Vijay](https://hashnode.com/@puruvjdev)😍😍 , Loving it!! 💃

[Puru Vijay](https://hashnode.com/@puruvjdev)

[Apr 20, 2021](https://hashnode.com/posts/why-i-moved-from-styled-components-to-scss-modules/607914d9a3407a32d70442a2/comment/607ec06ceb2bd30d2d22ad61#reply-607ed28eeb2bd30d2d22aff8)

Thank you!! 😻

[Edidiong Asikpo (Didi)](https://hashnode.com/@didicodes)

[Apr 16, 2021](https://hashnode.com/posts/why-i-moved-from-styled-components-to-scss-modules/607914d9a3407a32d70442a2/comment/6079681790c7837c75010a22)

To be honest, you've highlighted tons of valid points. I am already considering using SCSS modules.

[Puru Vijay](https://hashnode.com/@puruvjdev)

[Apr 16, 2021](https://hashnode.com/posts/why-i-moved-from-styled-components-to-scss-modules/607914d9a3407a32d70442a2/comment/6079681790c7837c75010a22#reply-6079735fc51e947e26798787)

hehe should've replaced the "It's a non-technical article and you probably won't learn anything from it" to "It's a non-technical article so you'll more from it than a technical article" 😁

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Apr 16, 2021](https://hashnode.com/posts/why-i-moved-from-styled-components-to-scss-modules/607914d9a3407a32d70442a2/comment/60795a0e82516d77c94da1e9)

It's a nice well written article 👍. Here's [another article](https://daily.dev/blog/why-i-moved-from-styled-components-to-tailwind-css-and-whats-the-future-of-css-in-js) related to the same.
