Back to DocsYou are on Templates.

Templates

Fetch a finished page, run it on your machine, then make it yours. The installation steps are the ones shown on the template.

The short version

Install a template

A template is a complete Next.js project, not a screenshot. The archive comes from this site, so the four steps below work from any empty folder. Choose your package manager; the fetch step is the same, the install and run steps follow your choice.

Installation

Four steps, about a minute.

  1. 01

    Fetch the template

    Downloads the archive from this site and unpacks it into a lightpost folder.

    curl -fsSLO https://prequeluianimate.terravidhal.me/templates/lightpost.zip && unzip -q lightpost.zip

    Same command for every package manager. Needs curl and unzip.

  2. 02

    Install with npm

    Reads the manifest and installs the pinned dependencies.

    cd lightpost && npm install
  3. 03

    Start the dev server

    Compiles the page on first request, then reloads as you edit.

    cd lightpost && npm run dev
  4. 04

    Open the address

    The landing page is at the root; the sign-up form lives at /signup.

    http://localhost:3000
npmselected

The address opens the real landing page. The sign-up form is a second real route at /signup; it validates locally and never sends anything.

What you get

The download is the same archive as the Download .zip button on the template page: the sources, the configuration and the installed registry components. No build output and no node_modules.

Page codecomponents/landing/Ten sections, one client tree.
Routesapp/page.tsx, app/signup/A landing page and a real form.
Componentscomponents/prequelui/The public registry items as source.
Design tokensapp/globals.cssLight and dark, one brand colour.
Manifestpackage.jsonPinned runtime and build dependencies.
Next.js Next.jsReact ReactTailwind CSS Tailwind CSSMotion Motion

Change the content

Every visible piece lives in one file, so the first edit takes a minute. Keep the imports: the motion is inside the components, not in the page.

components/landing/brand.tsx
export function Brand() {
  return (
    <span className="flex items-center gap-2 font-medium">
      <span aria-hidden="true" className="size-6 rounded-lg bg-[var(--brand)]" />
      Your product
    </span>
  );
}

Brand name and mark

components/landing/brand.tsx

Colours and radius

app/globals.css

Hero copy

components/landing/hero.tsx

Plans and prices

components/landing/pricing.tsx

Replace the invented company, people and quotes before publishing. The template says so in its own footer, and the README repeats where to look.

Build for production

When the page is ready, build it and serve the optimised output. Both commands run from the template folder, like the install steps.

cd lightpost && npm run build
cd lightpost && npm run start

The production server listens on the same address, http://localhost:3000. There is no external service to configure.

Each command on this page is run against the served archive in a clean container before release: fetch, install, start and open.

Components instead

When you only need one piece, skip the template and add the public registry item to the app you already have. The command is the same one the component pages show.

npx shadcn@latest add https://prequeluianimate.terravidhal.me/r/react/accordion.json

Built by Vidhal. The source is available on GitHub.

MIT licensed