# Dynamic Theme Component Settings

**URL:** <https://meta.discourse.org/t/dynamic-theme-component-settings/171006>\
**Category:** Support\
**Created:** [November 23, 2020, 12:49pm UTC](https://meta.discourse.org/t/dynamic-theme-component-settings/171006 "2020-11-23T12:49:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![welburn](https://avatars.discourse-cdn.com/v4/letter/w/f0a364/32.png) [@welburn](https://meta.discourse.org/u/welburn)\
**Post date:** [November 23, 2020, 12:49pm UTC](https://meta.discourse.org/t/dynamic-theme-component-settings/171006/1 "2020-11-23T12:49:04Z")

</div>

Hi All,

A little bit of context, I’m developing a theme component where I would like the user to be able to set up a number of different variations of theme component depending on the page. I would like for the user to set up different hyperlinks on this component for each page using a theme component setting. However, the number of pages this component will be on will change depending on what the user has defined. Is there a way to make the theme component settings dynamic in some way whether it be via javascript or maybe another setting which details how many pages the component will be on?

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [November 23, 2020, 10:49pm UTC](https://meta.discourse.org/t/dynamic-theme-component-settings/171006/2 "2020-11-23T22:49:36Z")

</div>

We do not have support for dynamic settings per component, this would require some backend work.

Closest you can get is to use localstorage, but this will not be associated to a user, just to a browser.

---

<div class="post-metadata">

**Author:** ![welburn](https://avatars.discourse-cdn.com/v4/letter/w/f0a364/32.png) [@welburn](https://meta.discourse.org/u/welburn)\
**Post date:** [December 1, 2020, 2:50pm UTC](https://meta.discourse.org/t/dynamic-theme-component-settings/171006/3 "2020-12-01T14:50:01Z")

</div>

Thanks for your replies, I got around this issue by using a ‘list’ setting and then splitting this out and implementing some logic.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [December 31, 2020, 2:50pm UTC](https://meta.discourse.org/t/dynamic-theme-component-settings/171006/4 "2020-12-31T14:50:21Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
