Landing page

A complete developer API landing page built only from registry parts.

The full page is too big to embed here. Open the live example.

Install

$ npx shadcn@latest add @nudgekit/landing-page

Or with no config: npx shadcn@latest add https://ui.nudgekit.app/r/landing-page.json

Brings in @nudgekit/chip, @nudgekit/code-block, @nudgekit/card, @nudgekit/switch, @nudgekit/browser-frame, @nudgekit/cta-panel, @nudgekit/feature-bento, @nudgekit/footer, @nudgekit/hero, @nudgekit/logo-strip, @nudgekit/navbar, @nudgekit/pricing, @nudgekit/section-head, @nudgekit/stat-strip, @nudgekit/steps, lucide-react, and the theme.

Usage

usage.tsx
import { LandingPage } from "@/components/landing-page"

export default function Page() {
  return <LandingPage />
}

Do

  • Install it, then replace the copy, links and numbers with your product's.

Don't

  • Ship the placeholder numbers or customer names.

Code

What the CLI writes into your project. It is yours to change.

components/landing-page.tsx
import * as React from "react";
import { Check } from "lucide-react";

import { Chip } from "@/components/ui/chip";
import { CodeBlock } from "@/components/ui/code-block";
import { CardPanel, CardRow } from "@/components/ui/card";
import { Switch } from "@/components/ui/switch";
import { BrowserFrame } from "@/components/browser-frame";
import { CtaPanel } from "@/components/cta-panel";
import { FeatureBento } from "@/components/feature-bento";
import { Footer } from "@/components/footer";
import { Hero } from "@/components/hero";
import { LogoStrip } from "@/components/logo-strip";
import { Navbar } from "@/components/navbar";
import { Pricing } from "@/components/pricing";
import { SectionHead } from "@/components/section-head";
import { StatStrip } from "@/components/stat-strip";
import { Steps } from "@/components/steps";

/** A sample site, shown inside the hero's browser frame. */
function SamplePage() {
  return (
    <div className="relative h-[250px] overflow-hidden bg-background px-5 pt-4">
      <div className="mb-6 flex items-center gap-2.5">
        <span className="mr-auto size-3.5 rounded-[4px] bg-ink" />
        <span className="h-[5px] w-7 rounded-full bg-line-strong" />
        <span className="h-[5px] w-7 rounded-full bg-line-strong" />
        <span className="h-4 w-11 rounded-full bg-ink" />
      </div>
      <p className="text-[22px] font-semibold leading-[1.15] tracking-[-0.03em] text-ink">
        Ship your product
        <br />
        twice as fast
      </p>
      <p className="mb-3 mt-2 max-w-[190px] text-[11px] leading-normal text-muted-foreground">The workspace where modern teams plan, build and launch.</p>
      <div className="flex gap-1.5">
        <span className="rounded-full bg-ink px-2.5 py-1 text-[10px] font-medium text-white">Get started</span>
        <span className="rounded-full px-2.5 py-1 text-[10px] font-medium text-ink ring-1 ring-inset ring-line-strong">Book a demo</span>
      </div>
      <div
        className="absolute right-5 top-[60px] h-[210px] w-[42%] rounded-xl"
        style={{ background: "linear-gradient(140deg, var(--glow-1), var(--glow-2) 55%, var(--glow-3))" }}
      >
        <div className="absolute inset-x-3.5 top-3.5 h-[56%] rounded-lg bg-white/60" />
      </div>
    </div>
  );
}

const nodeSample = `import { Capture } from "capture";

const client = new Capture(process.env.CAPTURE_KEY);

const image = await client.take({
  url: "https://northwind.io",
  fullPage: true,
  blockAds: true,
  format: "webp",
});`;

const curlSample = `curl "https://api.capture.dev/take" \\
  -H "Authorization: Bearer $CAPTURE_KEY" \\
  -d url="https://northwind.io" \\
  -d full_page=true \\
  -d format=webp \\
  -o homepage.webp`;

/** A full landing page for a developer API, assembled only from registry parts. */
function LandingPage() {
  return (
    <div className="bg-background">
      <Navbar
        name="Capture"
        links={[
          { label: "Docs", href: "#docs" },
          { label: "Playground", href: "#playground" },
          { label: "Pricing", href: "#pricing" },
        ]}
        signIn={{ label: "Sign in", href: "#signin" }}
        cta={{ label: "Get API key", href: "#signup" }}
      />
      <Hero
        announcement={{ tag: "New", text: "Markdown output for AI agents" }}
        title="The screenshot API for developers."
        tone="Any URL to image, PDF or markdown in one call."
        primary={{ label: "Start for free", href: "#signup" }}
        secondary={{ label: "Read the docs", href: "#docs" }}
        ticks={["200 free screenshots a month", "No credit card", "Cancel anytime"]}
        media={
          <BrowserFrame
            url="northwind.io"
            footer={
              <div className="flex items-center gap-2.5 whitespace-nowrap px-4 py-3 font-mono text-[13px] text-muted-foreground">
                <span className="rounded-md bg-brand-tint px-1.5 py-0.5 text-[11px] text-brand-ink">GET</span>
                <span className="truncate">
                  /take?url=<span className="text-brand-ink">northwind.io</span>&amp;format=<span className="text-brand-ink">webp</span>
                </span>
                <span className="ml-auto text-success">200 OK</span>
              </div>
            }
          >
            <SamplePage />
          </BrowserFrame>
        }
      />
      <LogoStrip logos={["Acme", "Northwind", "Globex", "Initech", "Umbrella", "Hooli"]} />

      <section className="mx-auto max-w-[1120px] px-6 py-20">
        <SectionHead
          eyebrow="Rendering"
          title="Clean captures, every time."
          tone="Ads, cookie banners and chat widgets are removed before the shutter."
        />
        <FeatureBento
          features={[
            {
              title: "Render exactly the page you need",
              description: "Every option is one parameter. No custom browser code to write or maintain.",
              visual: (
                <CardPanel>
                  <CardRow>
                    Block ads <Switch defaultChecked aria-label="Block ads" />
                  </CardRow>
                  <CardRow>
                    Block cookie banners <Switch defaultChecked aria-label="Block cookie banners" />
                  </CardRow>
                  <CardRow>
                    Viewport <code className="font-mono text-xs text-muted-foreground">1440 × 900</code>
                  </CardRow>
                </CardPanel>
              ),
            },
            {
              title: "Every format in one endpoint",
              description: "Images, documents and text for LLMs.",
              visual: (
                <div className="flex flex-wrap gap-2">
                  {["png", "webp", "jpeg", "pdf", "markdown"].map((f) => (
                    <Chip key={f} mono>
                      {f}
                    </Chip>
                  ))}
                </div>
              ),
            },
            { title: "Dark mode and custom CSS", description: "Capture either theme, or inject your own styles." },
            {
              title: "Geo-located rendering",
              description: "See the page the way a local visitor does.",
              visual: (
                <div className="flex flex-wrap gap-2">
                  <Chip dot selected>
                    Mumbai
                  </Chip>
                  <Chip dot>Frankfurt</Chip>
                  <Chip dot>Virginia</Chip>
                </div>
              ),
            },
            {
              title: "Built for AI agents, with MCP",
              description: "Give your agent eyes for the web.",
              visual: (
                <div className="inline-flex items-center gap-2 rounded-xl border border-border bg-background px-3 py-2 font-mono text-xs">
                  <Check aria-hidden className="size-3.5 text-success" /> capture.take <span className="text-faint">1.2s</span>
                </div>
              ),
            },
          ]}
        />
      </section>

      <section className="mx-auto grid max-w-[1120px] items-start gap-14 px-6 pb-20 lg:grid-cols-[1fr_1.15fr]">
        <div>
          <SectionHead eyebrow="Developer experience" title="One endpoint." tone="Works with the language you already use." />
          <Steps
            steps={[
              { title: "Get your API key", description: "Sign up and copy it from the dashboard." },
              { title: "Call one endpoint", description: "Pass a URL and the options you need." },
              { title: "Get the file back", description: "As a response, a signed link or straight to your bucket." },
            ]}
          />
        </div>
        <CodeBlock
          samples={[
            { label: "Node.js", code: nodeSample },
            { label: "cURL", code: curlSample },
          ]}
          footer={
            <>
              <span className="mr-2.5 font-medium text-[#5BD6A2]">200 OK</span>image/webp · 184 KB · 1.2s
            </>
          }
        />
      </section>

      <StatStrip
        stats={[
          { value: "450+", label: "Active developers" },
          { value: "99.9%", label: "Uptime" },
          { value: "0.8M+", label: "Screenshots a month" },
          { value: "1.2s", label: "Median render time" },
        ]}
      />

      <Pricing
        title="Simple pricing."
        tone="Pay in USD or INR, cancel anytime."
        currencies={["USD", "INR"]}
        plans={[
          {
            name: "Starter",
            price: { USD: "$9", INR: "₹749" },
            description: "The essentials to start rendering today.",
            features: ["3,000 screenshots", "All formats", "Ad and banner blocking"],
            cta: { label: "Choose Starter", href: "#signup" },
          },
          {
            name: "Growth",
            price: { USD: "$29", INR: "₹2,399" },
            description: "A plan that scales with your business.",
            features: ["15,000 screenshots", "Geo-located IPs", "Priority rendering"],
            cta: { label: "Choose Growth", href: "#signup" },
            recommended: true,
          },
          {
            name: "Scale",
            price: { USD: "$99", INR: "₹8,199" },
            description: "Priority support and infrastructure.",
            features: ["75,000 screenshots", "Dedicated support", "Custom limits"],
            cta: { label: "Choose Scale", href: "#signup" },
          },
        ]}
      />

      <CtaPanel
        title="Start capturing in minutes."
        tone="200 free screenshots every month, no card needed."
        primary={{ label: "Get your API key", href: "#signup" }}
        secondary={{ label: "Try the playground", href: "#playground" }}
      />

      <Footer
        year={2026}
        name="Capture"
        tagline="The screenshot API for developers and AI agents."
        columns={[
          { title: "Product", links: [{ label: "Playground", href: "#" }, { label: "Pricing", href: "#" }, { label: "Changelog", href: "#" }] },
          { title: "Developers", links: [{ label: "Documentation", href: "#" }, { label: "API reference", href: "#" }, { label: "MCP server", href: "#" }] },
          { title: "Company", links: [{ label: "About", href: "#" }, { label: "Privacy", href: "#" }, { label: "Terms", href: "#" }] },
        ]}
      />
    </div>
  );
}

export { LandingPage };