# Using web components for asset development

**URL:** <https://community.hubspot.com/t/using-web-components-for-asset-development/68769>\
**Category:** CMS Development\
**Tags:** marketplace-solutions-directory\
**Created:** [November 8, 2022, 1:35am UTC](https://community.hubspot.com/t/using-web-components-for-asset-development/68769 "2022-11-08T01:35:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_aureliocampos](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/_aureliocampos/32/196842_2.png) [@\_aureliocampos](https://community.hubspot.com/u/_aureliocampos)\
**Post date:** [November 8, 2022, 1:35am UTC](https://community.hubspot.com/t/using-web-components-for-asset-development/68769/1 "2022-11-08T01:35:05Z")

</div>

Hello everyone, I’m working on a theme that I’ll list in the hubspot marketplace in the future, but I still have a question, can I use my web components library that I created myself, which is on a cdn of its own in my theme or is this not allowed?

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [November 8, 2022, 1:06pm UTC](https://community.hubspot.com/t/using-web-components-for-asset-development/68769/2 "2022-11-08T13:06:24Z")

</div>

Hello [@\_aureliocampos](https://community.hubspot.com/t5/user/viewprofilepage/user-id/473626), is your components library created for HubSpot (using HubL, the correct module format, etc)?  
I don’t think you can import some modules in a different format and use them in your theme, you will need to somehow adapt them to HubSpot.

But if you already have them created somewhere else, I believe moving them to HubSpot and addapting them won’t be a big issue for you 🙂

---

<div class="post-metadata">

**Author:** ![\_aureliocampos](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/_aureliocampos/32/196842_2.png) [@\_aureliocampos](https://community.hubspot.com/u/_aureliocampos)\
**Post date:** [November 8, 2022, 2:41pm UTC](https://community.hubspot.com/t/using-web-components-for-asset-development/68769/3 "2022-11-08T14:41:55Z")

</div>

Thanks for the answer @albertsg.  
It’s a library made with lit, actually it’s more of a design system than a library of its own, and as it’s used as HTML, I’ve already tested it and it works very well on hubspot, I just want to make sure that it’s possible to use -there as part of my theme that I intend to list in the marketplace

---

<div class="post-metadata">

**Author:** ![albertsg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/albertsg/32/99473_2.png) [@albertsg](https://community.hubspot.com/u/albertsg)\
**Post date:** [November 8, 2022, 2:48pm UTC](https://community.hubspot.com/t/using-web-components-for-asset-development/68769/4 "2022-11-08T14:48:50Z")

</div>

[@\_aureliocampos](https://community.hubspot.com/t5/user/viewprofilepage/user-id/473626) happy to hear it works great! Regarding the use of your library into a theme, I guess only someone from HubSpot can reply to this (maybe it’s better to contact them via email) but I guess if it’s fully developed by you then it should be fine 🙂

---

<div class="post-metadata">

**Author:** ![\_aureliocampos](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/_aureliocampos/32/196842_2.png) [@\_aureliocampos](https://community.hubspot.com/u/_aureliocampos)\
**Post date:** [November 8, 2022, 3:21pm UTC](https://community.hubspot.com/t/using-web-components-for-asset-development/68769/5 "2022-11-08T15:21:20Z")

</div>

Thank you so much for the clarification @albertsg.  
Yes, fully developed by me  
But I will follow your advice and make contact by email.
