Build and Edit Custom Components in Relume Publish

Summarize with AI
Learn how to connect an AI tool to Relume Publish MCP, build a custom component from a screenshot or change an existing section, then find, edit, rename, duplicate or delete it.

By the end of this doc, you'll be able to:

  1. Connect your AI tool to Relume Publish MCP
  2. Build a custom component from a screenshot
  3. Find your custom components in the Insert panel
  4. Edit a custom component on the canvas or with AI
  5. Rename, duplicate or delete a custom component

Before You Begin

  • A site in Relume Publish
  • An AI tool such as Claude, ChatGPT, Claude Code or Codex

What Are Custom Components?

A custom component is a section your AI builds for you and adds to your Relume site. If you find a design you love on an inspiration site, you can ask your AI to recreate it.

Your AI builds each custom component using as much of Relume's component system as possible. That means it uses your Style Guide and works with the same settings as every other section, so it feels like the rest of your site.

Your AI connects to Relume through Relume Publish MCP (a connection that lets AI tools read, edit and publish your Relume sites).

How to Connect Your AI Tool

  1. Click Connect MCP at the bottom of the left sidebar in your dashboard.
  2. Select your AI tool: Claude, ChatGPT, Claude Code or Codex.
  3. Follow the steps shown for your tool. For Claude, click Add to Claude, then click Add in Claude.
  4. Sign in with your Relume account when your AI tool asks.

How to Build a Custom Component

Build From a Screenshot

  1. Take a screenshot of the component you want to recreate.
  2. Open your AI tool.
  3. Attach your screenshot.
  4. Describe what you want built and where it should go on your site.
  5. Paste the link to your Relume site into the message, so your AI knows which site to use.
  6. Send the message.
  7. Wait for your AI to finish. This usually takes a few minutes.
  8. Open your site in Relume to see the new section on your page.
Tell your AI to use your Style Guide, and name the section the new component should sit below. For example: "Recreate this component and add it below the hero section, using my Style Guide."

Change an Existing Section

To add something a section doesn't offer, ask your AI to change it. Name the section and describe what you want. For example: "Add Instagram and Facebook icons between the call to action and the menu links in my navbar." Your AI saves the result as a new custom component, which you'll find in the Custom tab.

How to Find Your Custom Components

  1. Click Insert in the left sidebar of the editor.
  2. Click the Custom tab.
  3. Find your component under This site.

How to Edit a Custom Component

A custom section works like any other section on your page. Click into it to replace images or change the colour scheme. Settings such as Section Padding and Colour Scheme are in the right panel.

To change the structure, styling or properties, click Edit with AI in the right panel. You can also go back to your AI tool and describe the change you want.

How to Rename, Duplicate or Delete a Custom Component

  1. Click Insert in the left sidebar of the editor.
  2. Click the Custom tab.
  3. Click the … menu on the component's card.
  4. Select Rename, Duplicate or Delete.

Tips & Best Practices

Looking for ideas? Inspiration sites such as Site Inspire and Mobbin are a good place to find components you'd like to recreate.
Relume is regularly releasing new components, with more on the way. Check the Insert panel before you build, as the section you need may already be there.
Was this helpful?
Thank you for rating!
Thank you for rating.

Need Support?

Join Our Community

Learn from fellow Lumers or showcase your work with our community of 10k+ members.

Get Support

We've got your back. Get your questions answered.

We typically reply in 24 hours or less.