Hi @yuval222, We have a default 404 page that you can use, which you can see an example of in our NextJS starter examples here: builder/[[…page]].tsx at 2e199acfe6979ec799724898cdc8b4243e5b1827 · BuilderIO/builder · GitHub
If you wanted to create a custom 404 page within the builder then I would recommend making a new page or section model, which you can call “error-page” or whatever you like, and then based on the logic linked above, instead of the default error page you could do something like:
if (!page && isLive) {
return (
<>
<BuilderComponent model="error-page" />
</>
)
}
return (
<>
<BuilderComponent model="page" />
</>
)
}
Related post: How do I customize the 404 page for different urls?
Let me know if that makes sense and works for you!