# Default Script Library

**URL:** <https://forums.realmacsoftware.com/t/default-script-library/43944>\
**Category:** Elements API\
**Created:** [July 28, 2024, 2:31pm UTC](https://forums.realmacsoftware.com/t/default-script-library/43944 "2024-07-28T14:31:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon68150607](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon68150607](https://forums.realmacsoftware.com/u/anon68150607)\
**Post date:** [July 28, 2024, 2:31pm UTC](https://forums.realmacsoftware.com/t/default-script-library/43944/1 "2024-07-28T14:31:14Z")

</div>

Does Elements have a default script library that the current set of components use - it appears that com.realmac.corepack use alpine.js. Is that library generally available for other components to use, or would I need to include my own copy, or whatever lib I want to use?

Ideally, it would be nice if there was one js lib that you could generally count on to be there (much like tailwind for css) if you didn’t want to include your own lib (for various reasons).

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [July 29, 2024, 1:28pm UTC](https://forums.realmacsoftware.com/t/default-script-library/43944/2 "2024-07-29T13:28:32Z")

</div>

Elements doesn’t ship with any JavaScript libraries. We don’t want to tie developers down to a specific set of libraries- and we don’t want to include any JavaScript “by default” in the published site.

We have plans for how developers will be able to specify which JavaScript libraries they need included, and that Elements will manage this across all components, but we haven’t managed to get to that yet!

For now you will have to manually add any JavaScript your components require.

---

<div class="post-metadata">

**Author:** ![anon68150607](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anon68150607](https://forums.realmacsoftware.com/u/anon68150607)\
**Post date:** [July 29, 2024, 2:34pm UTC](https://forums.realmacsoftware.com/t/default-script-library/43944/3 "2024-07-29T14:34:39Z")

</div>

Do the included Realmac Elements not use any Javascript, or use any library?

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [July 29, 2024, 7:24pm UTC](https://forums.realmacsoftware.com/t/default-script-library/43944/4 "2024-07-29T19:24:00Z")

</div>

Some do, some don’t. If they do it’s either alpine or vanilla js - at least for now!
