Staaarter

Minimal Logo CTA Only

A stripped-down header with only two elements, a wordmark on the left and a single call-to-action button on the right. No nav links at all, ideal for a waitlist page, a single-purpose landing page, or any site where the only action that matters is the CTA.

By Staaarter Team
Navbar
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/minimal-logo-cta-only.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/navbar/navbar6.tsx instead.

Usage

The file also exports navbar6Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.

import { Navbar6, navbar6Demo } from "@/components/blocks/navbar/navbar6";

export default function Page() {
  return <Navbar6 {...navbar6Demo} />;
}

Props

PropTypeDefaultDescription
wordmarkstring"Alto"Logo text rendered as a bold wordmark.
cta{ label: string; href: string }noneThe single call-to-action button on the right.
classNamestringnoneExtra classes for the outer header element.

Behavior notes

  • Fully static: no client-side state anywhere in this block, and no nav links by design.
  • The CTA is a Button rendered as a Link via the render prop, it performs no real action beyond navigating to the href you supply.