How to bind data in Reusable Components?

Hello everyone, how are you?

I’ve created a reusable component of a card with some text information and inserted it into a list in Weweb. I would like to bind data with a collection, but I don’t know how to do it.

Does anyone have an example of how to do it?

Thank you in advance!

Hi, you can create properties on your card component, you can create for exemple a title property, when you will use the card in your list you will be able to bind the title property to the current item in the list :slight_smile:

Capture d’écran 2024-03-21 à 18.53.52

1 Like