Community forum for knowledge and support

Updated 2 weeks ago

Using relume for a client project

Hi guys 😊 .

I'm new to relume. I bought the pro ( or whatever the name is ) plan. Love the product.

However I have one question that I couldn't find answer for on docs. The thing is I'm trying to use relume for a client project. They are like a mental health provider. They have various services, as per image. Everything under the "folder" Treatment is like a service page. And I would like to use the same "layout" for all services pages under that section.

Is that possible ?

Reason being is that I would love to take advantage of the "Generate copy" feature for each service. However I would like for the layout of the pages to remain the same across all the service pages.

Attachment
Screenshot 2025-04-14 at 15.11.21.png
J
M
N
13 comments

As I said I have the Pro plan.

Attachment
Screenshot 2025-04-14 at 15.15.45.png

But the issue is that when I generate the pages they are all different and I have to manually change the components for each page.

Attachment
Screenshot 2025-04-14 at 15.16.11.png

@Jakob RolĂ­k yeah so the only way to do this would be to designate one of those pages as your template, and duplicate it for each service, and then copy/paste the title/description of the pages it generated and paste it into those duplicates, then click on the page and "Generate copy". Generating copy should not change the layout - only change the copy. Then you can delete the generated pages and now you should have 4-5 identical layouts, but with different copy.

obviously there's room for improvement here

Okay, thank you. This is what I came up with. But didn’t want to waste time, in case there was native way to achieve it. Since there isn’t, I’m just gonna do that. 😊

I have one more question if you dont mind:

So the project will be a react website. Where I am looking forward to using the premade components. However they will be populated with data from Strapi.

And my question is whether there is some resource of like the content types of the sections. Meaning I have for example the Layout3 (image). So in the cms I would like to create a reusable component that would represent this React Component.

Attachment
Screenshot 2025-04-14 at 19.08.14.png

And it’d be great if there were some definitions of porps for the various sections. So that I could feed it into some LLM that would transform it into strapi component definitions.

I suppose you must have the definitions somewhere. So my question is whether they could be downloaded. Like JSON-schema or ts typings format ?

Let's page in our resident React expert to help you out with these questions!

@Nour mind giving us some insights here?

@Jakob RolĂ­k Hey Jakob, for the current moment, we only have the inlined version for the sitebuilder export, for the props version, you can find these at https://www.relume.io/react/components

Huh… Thx. Just to clarify though.. When I do the export in the design tool , I get everything inlined so this library is something else to the “react export” correct ?

@Jakob Rolík The library has the same code as the exported version. It is just that the library provides the typescript and props version while the exported version is just jsx and inlined. We’ll be working on that in the next few months to make them one.

Amazing ! Looking forward to that. Thank you for your time and help.

Add a reply
Sign up and join the conversation on Slack