Skip to content

pastetaste

Orva Header

Navigation

Transparent header for a dark photo hero: light wordmark with a registered mark, centred link row, and a three-line menu button that opens a translucent blue sheet. Links collapse into the sheet on phones.

Paste it into Claude Code: it installs the component, asks for your brand and content, and places it on the page you name.

Install

Or by hand, in a Next.js project with shadcn set up. It writes components/pastetaste/orva-header.tsx.

npx shadcn@latest add https://pastetaste.com/r/orva-header.json

Prompt

Install the pastetaste component "Orva Header" (orva-header) into this Next.js project and use it.

What it is: Transparent header for a dark photo hero: light wordmark with a registered mark, centred link row, and a three-line menu button that opens a translucent blue sheet. Links collapse into the sheet on phones.

Before you place it, ask me (one short message, in my language; "skip" = sensible default): which page and section it goes in, my brand colour (hex), the text, labels or images it should show, and whether I want my logo or my own copy in the demo content. Then:

Steps:
1. If the project has no components.json, run: npx shadcn@latest init -y -d. Then run: npx shadcn@latest add https://pastetaste.com/r/orva-header.json
   (it writes components/pastetaste/orva-header.tsx; install any npm packages it reports).
2. Import it: import { OrvaHeader } from "@/components/pastetaste/orva-header" (check the file for the exact named export).
3. Put it where it fits on the page I name, keep the rest of the page untouched, and pass props for my colours instead of editing the installed file.
4. It does not depend on Tailwind; colours come from CSS variables (--pt-*) or props.
5. It supports prefers-reduced-motion with a still state; do not remove it.

Props (all optional unless the type has no default):
- brand: string = 'ORVA' — Wordmark text. The header carries no icon; the wordmark is the logo.
- mark: string = '\u00AE' — Small superscript after the wordmark. Pass an empty string to drop it.
- links: { label: string; href: string }[] = four anchor links — Navigation links. Under 900px they are only available in the menu sheet.
- color / sheet: string = '#fff' / blue glass — Optional CSS colours for the text and lines, and the background of the menu sheet.

Live preview: https://pastetaste.com/c/orva-header
Then run the dev server, check it in the browser at desktop and mobile width, and tell me the page URL.

Props 4

PropTypeDefaultDescription
brandstring'ORVA'Wordmark text. The header carries no icon; the wordmark is the logo.
markstring'\u00AE'Small superscript after the wordmark. Pass an empty string to drop it.
links{ label: string; href: string }[]four anchor linksNavigation links. Under 900px they are only available in the menu sheet.
color / sheetstring'#fff' / blue glassOptional CSS colours for the text and lines, and the background of the menu sheet.
View all →