# SaaS landing template

A complete responsive SaaS landing page assembled from typed navigation, hero, feature, testimonial, call to action, and footer configur…

Access: pro. Category: Templates. Kind: template.

## When to use

- Use it to start a complete saas landing template whose major regions should share one responsive composition.
- Choose it as the nav region when composing a page from independently reusable TidalUI sections.

## Alternatives

- Choose hero-section instead when the consumer is adding only an above-the-fold region to an existing page.

## Setup for agents

Use React 19 and TypeScript. Initialize shadcn for your framework, then merge this exact entry into components.json:

```json
{
  "registries": {
    "@tidal-pro": {
      "url": "https://tidalui.com/r/pro/{name}.json",
      "headers": {
        "Authorization": "Bearer ${TIDALUI_TOKEN}"
      }
    }
  }
}
```

The namespace must be named **@tidal-pro** because transitive Pro dependencies use that namespace. Obtain an agent key from your active Pro account at https://tidalui.com/account. Keep TIDALUI_TOKEN in your local environment, never in components.json, client code, Git or logs.

```sh
export TIDALUI_TOKEN='your-private-agent-key'
npx shadcn@latest add @tidal-pro/waitlist-form
npx shadcn@latest add https://tidalui.com/r/tidal-button.json
```

Free command: `npx shadcn@latest add https://tidalui.com/r/<name>.json`.
Pro command: `npx shadcn@latest add @tidal-pro/<name>`.

Import the base stylesheet and every stylesheet listed on the installed item's metadata. For example:

```tsx
import "./components/ui/tidal.css";
import "./components/ui/hero-section.css";
// Place installed components inside this wrapper:
<div className="tidal-scope" data-theme="dark">...</div>
```

Omit data-theme for the default light theme. Put the attribute on the same tidal-scope element for dark mode. Every component installs the shared free tidal-base dependency. After upgrading, run `npx shadcn@latest add https://tidalui.com/r/tidal-base.json --overwrite` to receive current tokens. Review local modifications before overwriting.

Vite: Use React + TypeScript. Map @/* to ./src/* in paths and Vite resolve.alias. Import tidal.css and each component stylesheet in your application entry.

Next.js 15 App Router: Next.js App Router: import tidal.css and component CSS in app/layout.tsx. Interactive examples belong in a client component with "use client". Map @/* to ./* or ./src/* to match your project.

TypeScript 6: use paths without baseUrl:

```json
{
  "compilerOptions": {
    "paths": {
      "@/*": [
        "./src/*"
      ]
    }
  }
}
```

Pro registry requests are server/CLI-only. Use the same-origin account interface in a browser; cross-origin Authorization preflights are intentionally unsupported.


## Install SaaS landing template

```sh
npx shadcn@latest add @tidal-pro/saas-landing-template
```

Stylesheets: `components/ui/tidal.css`, `components/ui/saas-landing-template.css`.

## Minimal example

```tsx
import"./components/ui/tidal.css";
import"./components/ui/saas-landing-template.css";
import{TidalSaasLandingTemplate}from"./components/ui/saas-landing-template";
export default(p:Parameters<typeof TidalSaasLandingTemplate>[0])=><div className="tidal-scope"><TidalSaasLandingTemplate {...p}/></div>;
```

## Structured props

- `TidalSaasLandingTemplate.callToAction: TidalSaasLandingCallToActionConfig`: Required call to action value accepted by this exported component.
- `TidalSaasLandingTemplate.features: TidalSaasLandingFeaturesConfig`: Required features value accepted by this exported component.
- `TidalSaasLandingTemplate.footer: TidalSaasLandingFooterConfig`: Required footer value accepted by this exported component.
- `TidalSaasLandingTemplate.hero: TidalSaasLandingHeroConfig`: Required hero value accepted by this exported component.
- `TidalSaasLandingTemplate.navigation: TidalSaasLandingNavigationConfig`: Required navigation value accepted by this exported component.
- `TidalSaasLandingTemplate.sampleNote?: ReactNode`: Optional sample note value accepted by this exported component.
- `TidalSaasLandingTemplate.sectionIds?: { features?: string; testimonials?: string; callToAction?: string; } | undefined`: Optional section ids value accepted by this exported component.
- `TidalSaasLandingTemplate.testimonials?: TidalSaasLandingTestimonialsConfig | undefined`: Optional testimonials value accepted by this exported component.
- `TidalSaasLandingTemplate.theme?: "light" | "dark" | undefined` (default "light"): Optional theme value accepted by this exported component.

## Complete usage example

[Source](https://tidalui.com/examples/saas-landing-template.tsx) | [Manifest](https://tidalui.com/examples/saas-landing-template.json). Install the listed additional dependencies. Consumer fixture: TypeScript pass; Vite pass. This fixture check is distinct from the actual shadcn install receipt.

```tsx
"use client";

import "./components/ui/tidal.css";

import { useId, useState } from "react";

import { TidalSaasLandingTemplate, type TidalSaasLandingHeroConfig } from "./components/ui/saas-landing-template";

import "./components/ui/saas-landing-template.css";

import "./components/ui/navigation-bar.css";

import "./components/ui/hero-section.css";

import "./components/ui/feature-grid.css";

import "./components/ui/testimonial-grid.css";

import "./components/ui/call-to-action-section.css";

import "./components/ui/footer.css";

function tidalExampleAvatarDataUri(seed: unknown) {
  const text = String(seed).replace(/[^a-z0-9]/gi, "").slice(-2) || "UI";
  const palette = ["#333333", "#555555", "#777777", "#999999", "#bbbbbb"];
  const color = palette[Array.from(text).reduce((sum, character) => sum + character.charCodeAt(0), 0) % palette.length];
  const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><rect width="96" height="96" rx="48" fill="${color}"/><circle cx="48" cy="38" r="17" fill="white" fill-opacity=".92"/><path d="M18 92c3-22 15-34 30-34s27 12 30 34" fill="white" fill-opacity=".92"/></svg>`;
  return `data:image/svg+xml,${encodeURIComponent(svg)}`;
}

function tidalExampleImageDataUri(label: string) {
  const safeLabel = label.replace(/[<>&]/g, "").slice(0, 28) || "Sample image";
  const svg = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 675"><defs><linearGradient id="g" x1="0" x2="1" y1="0" y2="1"><stop stop-color="#171717"/><stop offset="1" stop-color="#555555"/></linearGradient></defs><rect width="1200" height="675" fill="url(#g)"/><circle cx="950" cy="100" r="260" fill="white" fill-opacity=".08"/><text x="80" y="570" fill="white" font-family="system-ui,sans-serif" font-size="64" font-weight="700">${safeLabel}</text></svg>`;
  return `data:image/svg+xml,${encodeURIComponent(svg)}`;
}

export interface SaasLandingTemplateDemoProps {
  theme?: "light" | "dark";
}

const FEATURE_ITEMS = [
  {
    id: "plan",
    title: "Plan with the whole team",
    description:
      "Keep briefs, owners, and next steps together in one readable workspace.",
    size: "wide" as const,
    tone: "ink" as const,
    children: (
      <ul className="tidal-saas-template-feature-detail">
        <li>Shared project briefs</li>
        <li>Visible ownership</li>
        <li>Clear weekly priorities</li>
      </ul>
    ),
  },
  {
    id: "review",
    title: "Review the work",
    description:
      "Bring feedback and decisions into the same view as the work they affect.",
    children: (
      <ul className="tidal-saas-template-feature-detail">
        <li>Local review states</li>
        <li>Decision history</li>
      </ul>
    ),
  },
  {
    id: "deliver",
    title: "See what ships next",
    description:
      "Use a concise delivery view to understand what is ready and what needs attention.",
    children: (
      <ul className="tidal-saas-template-feature-detail">
        <li>Current milestones</li>
        <li>Open questions</li>
      </ul>
    ),
  },
] as const;

export function SaasLandingTemplateDemo({
  theme = "light",
}: SaasLandingTemplateDemoProps) {
  const instanceId = useId().replace(/:/g, "");
  const topId = `saas-sample-top-${instanceId}`;
  const featuresId = `saas-sample-features-${instanceId}`;
  const storiesId = `saas-sample-stories-${instanceId}`;
  const nextStepId = `saas-sample-next-step-${instanceId}`;
  const [preview, setPreview] = useState<"overview" | "workspace">("overview");

  const hero: TidalSaasLandingHeroConfig = {
    eyebrow: "Fictional product sample",
    title: "Move every project forward.",
    description:
      "Northstar gives product teams one calm place to plan work, review decisions, and prepare the next release.",
    actions: [
      {
        id: "features",
        kind: "link",
        label: "Explore the workflow",
        href: `#${featuresId}`,
        linkProps: { variant: "primary" },
      },
      {
        id: "preview",
        kind: "button",
        label: preview === "overview" ? "Preview workspace" : "Show overview",
        buttonProps: {
          variant: "secondary",
          "aria-pressed": preview === "workspace",
          onClick: () =>
            setPreview((current) =>
              current === "overview" ? "workspace" : "overview",
            ),
        },
      },
    ],
    visualLabel: "Fictional workspace summary",
    visual: (
      <div className="tidal-saas-template-hero-visual">
        <span>
          {preview === "overview"
            ? "Sample portfolio overview"
            : "Sample workspace selected"}
        </span>
        <dl className="tidal-saas-template-hero-visual-grid">
          <div>
            <dt>Active projects</dt>
            <dd>{preview === "overview" ? "08" : "03"}</dd>
          </div>
          <div>
            <dt>Reviews ready</dt>
            <dd>{preview === "overview" ? "04" : "02"}</dd>
          </div>
          <div>
            <dt>Decisions this week</dt>
            <dd>{preview === "overview" ? "12" : "05"}</dd>
          </div>
          <div>
            <dt>Open questions</dt>
            <dd>{preview === "overview" ? "06" : "01"}</dd>
          </div>
        </dl>
      </div>
    ),
  };

  return (
    <TidalSaasLandingTemplate
      id={topId}
      theme={theme}
      sectionIds={{
        features: featuresId,
        testimonials: storiesId,
        callToAction: nextStepId,
      }}
      navigation={{
        title: "Northstar",
        brandHref: `#${topId}`,
        navigationLabel: "Northstar sample navigation",
        links: [
          { id: "features", label: "Features", href: `#${featuresId}` },
          { id: "stories", label: "Team stories", href: `#${storiesId}` },
          { id: "next", label: "Next step", href: `#${nextStepId}` },
        ],
        actionItems: [
          {
            id: "reset",
            label: "Reset sample",
            onClick: () => setPreview("overview"),
          },
        ],
      }}
      hero={hero}
      features={{
        title: "A clearer rhythm for product work",
        description:
          "Each section is supplied by the page consumer and can connect to real product state and destinations.",
        items: FEATURE_ITEMS,
      }}
      testimonials={{
        eyebrow: null,
        title: "How the sample team works",
        description:
          "These statements and identities are fictional and demonstrate the layout only.",
        items: [
          {
            id: "ava",
            quote:
              "The weekly plan stays short enough to read, and every decision has a visible owner.",
            name: "Ava Brooks",
            role: "Fictional product lead",
            context: "Sample teammate statement",
            featured: true,
            avatar: {
              src: tidalExampleAvatarDataUri("01"),
              alt: "Fictional portrait of Ava Brooks",
            },
          },
          {
            id: "noah",
            quote:
              "Reviews are easier when the brief, open questions, and next step sit together.",
            name: "Noah Reed",
            role: "Fictional design lead",
            context: "Sample teammate statement",
            avatar: {
              src: tidalExampleAvatarDataUri("02"),
              alt: "Fictional portrait of Noah Reed",
            },
          },
          {
            id: "mila",
            quote:
              "I can see what is ready without rebuilding the same status update in another document.",
            name: "Mila Chen",
            role: "Fictional engineering lead",
            context: "Sample teammate statement",
            avatar: {
              src: tidalExampleAvatarDataUri("03"),
              alt: "Fictional portrait of Mila Chen",
            },
          },
        ],
      }}
      callToAction={{
        eyebrow: "Sample next step",
        title: "Review the workspace before connecting your product.",
        description:
          "Use the local preview to inspect the assembled page and its native destinations.",
        detailLabel: "Current preview",
        detail:
          preview === "overview" ? "Portfolio overview" : "Workspace view",
        actions: [
          {
            id: "preview",
            kind: "button",
            label: "Change sample view",
            onAction: () =>
              setPreview((current) =>
                current === "overview" ? "workspace" : "overview",
              ),
          },
          {
            id: "features",
            kind: "link",
            label: "Review the features",
            href: `#${featuresId}`,
          },
        ],
        footer: "No account, workspace, request, or stored record is created.",
      }}
      footer={{
        brand: <a href={`#${topId}`}>Northstar</a>,
        description: "A fictional SaaS landing page sample.",
        groups: [
          {
            id: "product",
            title: "Product",
            links: [
              { href: `#${featuresId}`, label: "Features" },
              { href: `#${storiesId}`, label: "Team stories" },
            ],
          },
          {
            id: "page",
            title: "Page",
            links: [
              { href: `#${topId}`, label: "Overview" },
              { href: `#${nextStepId}`, label: "Next step" },
            ],
          },
        ],
        legal: <span>Fictional sample content for local review.</span>,
      }}
      sampleNote={
        <output aria-live="polite">
          {preview === "overview"
            ? "Local sample view: portfolio overview."
            : "Local sample view: workspace selected."}
        </output>
      }
    />
  );
}

export default function AgentExample() {
  return (
    <div className="tidal-scope" data-theme="light" dir="ltr">
      <SaasLandingTemplateDemo />
    </div>
  );
}

```

## Gotchas

- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.

## Theme and accessibility

{"tokens":["--t-accent","--t-border","--t-border-strong","--t-canvas","--t-danger","--t-display","--t-ease-out","--t-ease-spring","--t-faint","--t-font","--t-ink","--t-line","--t-muted","--t-primary","--t-primary-contrast","--t-radius-card","--t-radius-control","--t-radius-overlay","--t-radius-panel","--t-ring","--t-shadow-lg","--t-shadow-soft","--t-soft","--t-subtle","--t-surface","--t-wash"],"darkMode":true}

{"keyboard":["Tab and Shift+Tab follow the component's native focus order."],"aria":"The component wires labels and relationships from consumer-provided visible text or ARIA props; preserve those labels in production.","notes":"Verify focus visibility, text alternatives, contrast, and reduced motion in the final composition."}

navigation, hero, features, callToAction and footer are required typed configurations inferred from their accepted TidalUI components; testimonials is optional. The template owns one h1 followed by h2 section headings and h3 feature headings. navigation accepts stable native link and action item IDs. Hero actions are discriminated native links or buttons. Section IDs are collision-safe by default and may be supplied for real in-page destinations. The template forwards the underlying component contracts, destinations, native attributes, handlers and refs while consumers own all copy, marks, media, statements, product state and outcomes. theme is light by default and may be dark. Optional sampleNote preserves numeric zero. The root forwards native div attributes/ref and intentionally avoids adding a nested main landmark. The template performs no routing, signup, authentication, request, analytics, storage, persistence, subscription or account action.
