# Libraries for components

**URL:** <https://forums.realmacsoftware.com/t/libraries-for-components/44095>\
**Category:** RapidWeaver Elements\
**Created:** [August 5, 2024, 9:52am UTC](https://forums.realmacsoftware.com/t/libraries-for-components/44095 "2024-08-05T09:52:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![trinube](https://avatars.discourse-cdn.com/v4/letter/t/df788c/32.png) [@trinube](https://forums.realmacsoftware.com/u/trinube)\
**Post date:** [August 5, 2024, 9:52am UTC](https://forums.realmacsoftware.com/t/libraries-for-components/44095/1 "2024-08-05T09:52:33Z")

</div>

Just expanding on the concept of libraries for globals, it dawned on me it could be for virtually any element or resource (not for a moment expecting this to even be considered at beta but still wanting to jot it down).

Xojo is a development tool which has user created Modules which can be dropped into a project. I typically use them to carry the database class and code I need for various apps. Drop in a module and a database connection is essentially done. Same for whatever classes might be needed (like specialised fields, properties etc).

If Elements could have some form of ‘Module’ - which could contain Globals, resources (like fonts and images), custom font styles, custom components etc - it means dragging one ‘Module’ into Resources could make all those things available to any new project. Sort of like a user theme but a bit more granular.

I wanted to start a new version of a test project and realised I’d have to recreate all the globals, re-copy all the resources and recreate all the custom text styles I’d made.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 5, 2024, 12:40pm UTC](https://forums.realmacsoftware.com/t/libraries-for-components/44095/2 "2024-08-05T12:40:40Z")

</div>

This is something we’ve discussed internally and is certainly on the cards. Not sure it’ll make it into the beta just yet, but this is going to be a popular request so something we’ll want to tackle!
