List component - no ovveride available if set as global

macOS 27.0.1, Elements: 3.1.3

For the title, I added a Text component, and for the Content, I added a List component and made it a Global.

Adding the accordion Global to a page and it is possible to set overrides for the Accordion and Title/Text components, but not the List component, so any changes to the List componet in the Accordion are fed back to the global accordion.

Is this intended?

(See the video attached)

Bump.

I wish to use the component repeatedly over several pages, but having styled it, but not being able to set an override it would mean changing each one throughout the site if I wished to change any element of the style.

Is it possible to get a response?

Hi @vwrapidweaver

Apologies for missing your first post!

Unfortunately, due to the way the List component works it’s not possible to override the list item text inside a global.

My advice would be to create your own list, using the Flex, Text, and SVG components, instead of the List component in the Accordion global. That way, you can override the text inside the list items.

I’ve put together an Elements project with this approach for you to look at, let me know if you have any questions or need any further help :slightly_smiling_face:

Ben,

Thank you for the explanation and for providing an alternative. Also, thank you for the example project which is very helpful in understanding how to do the alternative.