How to customize a free Next.js template, step by step
From download to a live website: install the template, edit the texts, change colours and photos, and publish it on Vercel for free.
By Rikardo Komen ·

Every template on Ricky's Web Templates is a complete Next.js project. You do not need to be a developer to customize one, but you will use a terminal for a few commands. This guide walks you through the whole process.
What you need
- Node.js 20 or newer. Download it from nodejs.org and install it like any other program.
- A code editor. Visual Studio Code is free and works well.
- A downloaded template. Pick one from the collection and click Download.
1. Install and start the template
Unzip the file, open the folder in your terminal and run these two commands. The first installs the packages, the second starts a local preview at http://localhost:3000.
npm install
npm run dev2. Edit the texts
All texts are in src/content/template.json. Change the company name, headings, services, prices and contact details there and save the file. The browser updates immediately. Keep the structure of the file the same: change the values between the quotes, not the names before the colons.
The page title and description that search engines show are in the meta section at the top of the same file.
3. Change the colours
Each template comes with five colour palettes. Open src/template-kit/ColorSwitcher.tsx and change ACTIVE_PALETTE to a number from 0 to 4. To create your own colours, edit the palette list in src/template-kit/palettes.ts. Colours are written as RGB numbers, for example "37 99 235" for blue.
4. Replace the photos
Demo photos are in public/images. Add your own photos to that folder and update the image paths in the JSON file. If you leave an image path empty, the template shows a placeholder with the recommended size, which is handy while you collect your photos. Read more in our guide to website images.
5. Set up the contact form
The enquiry forms open the visitor's e-mail program with the message filled in, so they work without a server. Just set your own e-mail address in the JSON file. If you want messages sent directly from the site, you can later connect a form service or an e-mail API.
6. Publish your website
The templates are exported as a plain static website, so they run on any web hosting, no Node.js server needed. Build the site and upload everything inside the out folder to the root folder of your hosting (for example public_html) by FTP or the cPanel file manager:
npm run buildHaven't changed anything yet? The download already contains the finished website in the html folder, ready to upload. Prefer automatic deploys? Push the project to GitHub and import it on Vercel, Netlify or Cloudflare Pages; they build it for you and you can connect your own domain in the project settings.
Prefer to skip all this?
We can do it for you. Our turnkey website includes setting up the template with your content, a domain and hosting, from $9.99 a month. For smaller changes, we customize templates at $30 per hour.




