# Migrating to Vanilla-extract from styled-components

**URL:** <https://community.dynatrace.com/t/migrating-to-vanilla-extract-from-styled-components/48869>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app\
**Created:** [November 13, 2024, 1:18pm UTC](https://community.dynatrace.com/t/migrating-to-vanilla-extract-from-styled-components/48869 "2024-11-13T13:18:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![veranika\_k](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@veranika\_k](https://community.dynatrace.com/u/veranika_k)\
**Post date:** [November 13, 2024, 1:18pm UTC](https://community.dynatrace.com/t/migrating-to-vanilla-extract-from-styled-components/48869/1 "2024-11-13T13:18:38Z")

</div>

Hi! I am planning to migrate from styled components to vanilla-extract styles, and I am not sure about the additional configuration for the DT app. I remember you were also planning to migrate back in January. Can you share the docs or information on how to use Vanilla-extract with the Dynatrace&nbsp;app? Thank you!

---

<div class="post-metadata">

**Author:** ![AndreasTaranetz](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/andreastaranetz/32/34213_2.png) [@AndreasTaranetz](https://community.dynatrace.com/u/AndreasTaranetz)\
**Post date:** [January 13, 2026, 10:00am UTC](https://community.dynatrace.com/t/migrating-to-vanilla-extract-from-styled-components/48869/2 "2026-01-13T10:00:11Z")

</div>

I can also recommend having a look at css-modules&nbsp;[GitHub - css-modules/css-modules: Documentation about css-modules · GitHub](https://github.com/css-modules/css-modules)  
The only “setup” they require is a type definition:  
e.g.: a css-modules.d.ts file containing

```javascript
declare module '*.module.css';

```

assuming all styles will be stored in files ending with .module.css
