Docs · Templates

How to customize an Edok Motion template

By Md Mahafuj Alam · Updated

Install dependencies with npm install, run npm run dev, then edit the config files: story.config.ts for the hero and site.config.ts for everything else in Kestra, Orbitly and Zelvo, or MANJARI's two config files. Change colours in the CSS variables or tokens at the top of the stylesheet, then run npm run build to produce a static export in the out folder. Check the template's README for exact names; Orbitly's explains every setting.

What you are customising

Every Edok Motion template is a Next.js project you own outright, with full source. The templates are built so that the common changes, such as words, prices, colours and footage, happen in a few files rather than across dozens of components. Before you edit anything, know where each kind of change lives.

ChangeKestra, Orbitly, ZelvoMANJARI
Hero copy and storystory.config.tsThe hero story config file
All other copy, pricing, FAQsite.config.tsOne config file for all copy, pricing and FAQ
ColoursCSS variables (Orbitly); see the README for Kestra and ZelvoTokens at the top of the stylesheet, with type sizes
Footage or imageryKestra, Orbitly: frame scripts and video prompts. Zelvo: objects built in codeImage prompts and an asset pipeline

The exact file locations and variable names differ between templates. Each template's README explains its settings; Orbitly's README covers every one. Treat the README as the source of truth for names, and this page as the order of work.

Step 1: run the template locally

Unzip the template, open a terminal in its folder and install the dependencies. You need Node.js installed; check the README and the Next.js installation docs for the minimum version.

Terminalbash
npm install
npm run dev

The development server prints a local address, usually http://localhost:3000. Open it and leave it running. Changes you save to config files and styles reload in the browser, so you can see each edit as you make it.

Step 2: edit the copy in the config files

In Kestra, Orbitly and Zelvo, all copy lives in two files: story.config.ts for the hero and site.config.ts for every other section. In MANJARI, all copy, pricing and FAQ sit in one config file and the hero story, including its timing, in another. You edit content without touching components.

Hero copy

The hero story file holds the words that appear over each chapter. Keep the number of chapters the same unless the README explains how to change it, because the copy is tied to positions in the scroll. Write to the length of the original lines. A headline twice as long will wrap onto extra lines and can cover the footage at the moment it matters.

Everything else

The site config holds navigation, features, pricing plans, FAQ entries and footer text. Because the files are TypeScript, the editor tells you when you miss a field or put a number where text belongs. Run a type check after a large edit:

Terminalbash
npx tsc --noEmit

No output means the types are sound. Two edits cause most breakages in config files. The first is a quote character inside a string: an apostrophe in 'Don't miss it' ends the string early. Use double quotes or a typographic apostrophe instead. The second is deleting an item from a list that a layout expects to have a fixed length, such as three pricing plans laid out as three cards. Change the contents of each item before you change how many there are, and check the layout at phone width after any change in count.

Real-estate figures, unit counts, prices and dates are content too: replace every placeholder, including the ones in readouts and counters, before you publish.

Step 3: change colours, type and fonts

Orbitly's colours are CSS variables, so a rebrand takes minutes. MANJARI sets colours and type sizes as tokens at the top of the stylesheet. In both cases you change a value in one place and every component that uses it follows.

CSS custom properties work like this, which helps when you read the template's own stylesheet. The names below are examples only; use the names in your template.

Example only: how CSS variables cascadecss
:root {
  --brand: #e86a33;
  --ink: #111318;
}

.button {
  background: var(--brand);
  color: var(--ink);
}
  • Check contrast after every colour change. Text over footage needs more contrast than text on a flat background.
  • Zelvo is different. Its 3D objects are built in code with no model files, so the colours of coins, cards and the clay town are values in code. Look for them in the code that builds each object.
  • Fonts are self-hosted. MANJARI ships Fraunces, Manrope and JetBrains Mono; Orbitly ships Sora, Inter and JetBrains Mono as variable fonts with no external requests. To swap a font, add your font files the same way and update the references. Check the font's license allows web embedding.

Step 4: swap footage, images or objects

How you replace the visuals depends on how the template is built.

  • Kestra and Orbitly scrub image sequences cut from video. Both include ffmpeg scripts to join clips and extract every frame tier. Kestra includes its Nano Banana keyframe and Kling 3.0 clip prompts; Orbitly its Seedance prompts, a review checklist and a brand-swap table.
  • MANJARI has no video. Swap your product in through the included image prompts and asset pipeline.
  • Zelvo builds every object in code. Change shapes and colours there.

The full flow is in swap in your own video. If you are planning new footage from scratch, the scroll story planning guide helps you decide the shots first.

Step 5: build the static export

The templates deploy as static sites, with no server to run. In Next.js, a static export is switched on with output: 'export' in next.config. Each template is built to deploy this way; its README says how the build is set up. In a standard Next.js project the build command is:

Terminalbash
npm run build

According to the Next.js static exports guide, with static export enabled the build writes the HTML, CSS and JavaScript into an out folder, which any web server that serves static files can host. Before you upload, preview the build locally with any static file server, for example:

Terminalbash
python3 -m http.server 8080 --directory out

Then open http://localhost:8080. A static export has limits: features that need a server at request time, such as cookies, rewrites, redirects, headers and Server Actions, are not supported. Keep that in mind if you add your own features, such as a form that posts to your own back end.

Hosting under a sub-path

Kestra, Zelvo and Orbitly can be hosted under a sub-path, such as example.com/tower, on a static host. Next.js does this with the basePath option. The general form is:

next.config.js (general form)js
module.exports = {
  output: 'export',
  basePath: '/tower',
}

Two points from the Next.js documentation matter here:

  • The value is set at build time and inlined into the client bundles, so changing it means rebuilding.
  • Links made with next/link get the prefix automatically, but image paths given to next/image need it added by hand.

Frame sequences and other files loaded from code also need the prefix. The templates are built to be hosted under any sub-path, so follow the README for where to set it rather than editing next.config blindly. The deployment guide covers hosts and caching for frame-heavy sites.

Before you publish

  1. Replace every placeholder: copy, prices, figures, links, legal text and the newsletter form target.
  2. Swap the logo, favicon and touch icon (Orbitly ships its own as examples).
  3. Test on a real phone in portrait. Kestra and Orbitly load separate portrait frames; Zelvo reframes its camera for portrait.
  4. Turn on reduced motion in your operating system and reload. Each template has a reduced-motion mode; confirm your new copy still reads well when stacked.
  5. Run the production build, preview the out folder, then upload.

For the wider workflow behind these sites, see the guide to building a 3D website with Claude. To pick a starting point, browse the Motion templates, or start with Orbitly, whose README explains every setting.

FAQ

Questions, answered.

The questions people ask most about this topic.

01Where do I change the text in an Edok Motion template?

In Kestra, Orbitly and Zelvo, hero copy is in story.config.ts and everything else in site.config.ts. MANJARI keeps all copy, pricing and FAQ in one config file and the hero story in another.

02How do I change the brand colours?

Orbitly's colours are CSS variables and MANJARI's colours and type sizes are tokens at the top of the stylesheet. Zelvo's 3D objects are built in code, so their colours are set there. Check the template's README for the exact names.

03Do I need a server to host the template?

No. Run npm run build and Next.js writes a static export to the out folder, which any static host can serve.

04Can I host the site under a sub-path?

Yes. Next.js uses the basePath option for this. It is set at build time, so changing it means rebuilding. Follow the template README for where to set it.

05Can I use a template for client projects?

Yes. Motion Pro is bought once and every template in it covers unlimited personal and client projects. See the license page for the full terms.