# Remix - custom component registry

**URL:** <https://forum.builder.io/t/remix-custom-component-registry/4380>\
**Category:** CMS\
**Tags:** react, api, nextjs\
**Created:** [October 28, 2023, 8:25am UTC](https://forum.builder.io/t/remix-custom-component-registry/4380 "2023-10-28T08:25:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maroltsky](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@maroltsky](https://forum.builder.io/u/maroltsky)\
**Post date:** [October 28, 2023, 8:25am UTC](https://forum.builder.io/t/remix-custom-component-registry/4380/1 "2023-10-28T08:25:27Z")

</div>

Hello everybody,

I am interested how to implement/register the custom component registry in Remix framework. I have tried importing the file to `page.tsx` and `entry.server.tsx` file. The documentation on this is also missing from the docs. [Registering Custom Components - Builder.io](https://www.builder.io/c/docs/custom-components-setup)

A boilerplate/example would be nice 🙂

I have had no trouble making it work in next.js but since the `BuilderComponent` does not support server components I am kind of forced to use something else, so remix solves this for me as it pre-renders pages.

Additionally, how do I setup preview environment in Remix? I can also create a separate react/nextjs app for that purpose as I don’t want it in my production env anyways?

Please advise,  
thanks

---

<div class="post-metadata">

**Author:** ![maroltsky](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@maroltsky](https://forum.builder.io/u/maroltsky)\
**Post date:** [November 2, 2023, 8:55am UTC](https://forum.builder.io/t/remix-custom-component-registry/4380/2 "2023-11-02T08:55:29Z")

</div>

Is there a remix expert here, maybe we can document this together?

---

<div class="post-metadata">

**Author:** ![sheema](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@sheema](https://forum.builder.io/u/sheema)\
**Post date:** [November 7, 2023, 7:21am UTC](https://forum.builder.io/t/remix-custom-component-registry/4380/3 "2023-11-07T07:21:14Z")

</div>

Hey @maroltsky

You can check out our remix starter code [here](https://github.com/BuilderIO/builder/tree/main/examples/remix-minimal-starter). It is a complete tutorial to get you started on Remix - including the Registering Custom Components.
