# Small Possibility Study

**URL:** <https://forums.realmacsoftware.com/t/small-possibility-study/46416>\
**Category:** Elements API\
**Created:** [February 22, 2025, 8:08pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416 "2025-02-22T20:08:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 22, 2025, 8:08pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/1 "2025-02-22T20:08:37Z")

</div>

Hi here a short 2 components. The tooltip is not correct on left/right since I forgot to size the image 😱

---

<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:** [February 22, 2025, 9:03pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/2 "2025-02-22T21:03:09Z")

</div>

Those are both looking like super nice Components! 😃

Are you planning on publishing those once the we have the store built into Elements?

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 22, 2025, 9:09pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/3 "2025-02-22T21:09:57Z")

</div>

Yeah that would be a possibility 😃

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 23, 2025, 9:00am UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/4 "2025-02-23T09:00:48Z")

</div>

Hi @dan,

I tried today to see how far I can go. With 10.000 Icons I crashed the dev-pack. So would be interesting to know how to get that in more solid or if a different approach would be better.

But yeah all good.

Thanks  
Nicolas

---

<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:** [February 23, 2025, 2:58pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/5 "2025-02-23T14:58:13Z")

</div>

Oh boy, now why would you go and do a thing like that?! 🤣

Can you send us the sample dev pack so we can test and see what’s going on?

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 23, 2025, 3:17pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/6 "2025-02-23T15:17:05Z")

</div>

I think I know what happens. If you put in your template for each symbol an `includeif`, you should not be surprised. But yeah just made me wonder how to start a bigger collection of icons and then let them be selected. I got 10.000 cleaned svg icons with fill, hover and opacity options. But no idea how to add those to a library to make them available.

As I remember `@include` or `@include` does not accept variables as input name for the file. If thats the case then I can construct the importing file name dynamically.

So what I did for the SVG Selectior. I generated a variable `abcIcon` which is true or false based on the selections of the props and then had a `@includeif(abcIcon, template: abcIcon, ...props)`, One symbol = One `@includeid`

Rest was just test when I get to hit the limit. Just thinking about the use case.

---

<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:** [February 24, 2025, 9:54am UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/7 "2025-02-24T09:54:10Z")

</div>

We’ll have to have a think on the best way to handle this as it’s a tricky problem because Elements currently monitors all files in a dev-pack, and macOS can only handle so many 🤔

---

<div class="post-metadata">

**Author:** ![Beblebroks](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Beblebroks](https://forums.realmacsoftware.com/u/Beblebroks)\
**Post date:** [February 24, 2025, 1:59pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/8 "2025-02-24T13:59:53Z")

</div>

Yeah that might be something for a seperate later discussion. Also you wont want to have all files uploaded, just because you are using 1 of them.

I just wanted to throw the scenario in the room. For me I wont need all those icons. I just have a back with my most commonly used once.

---

<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:** [February 24, 2025, 2:04pm UTC](https://forums.realmacsoftware.com/t/small-possibility-study/46416/9 "2025-02-24T14:04:22Z")

</div>

> [@Beblebroks](#):
>
> Yeah that might be something for a seperate later discussion. Also you wont want to have all files uploaded, just because you are using 1 of them.

Yes, exactly! We had a brief discussion about this internally this morning and have some ideas on how we could do it 😊
