pastetaste
Krumm Header
Poster-style fixed header set as four small red corner labels: studio name, link row, live city clock, and a full-screen type menu on phones. Switches tone by the section under it.
Paste it into Claude Code: it installs the component, asks for your brand and content, and places it on the page you name.
Live demo. Move the mouse and scroll inside it.
Install
Or by hand, in a Next.js project with shadcn set up. It writes components/pastetaste/krumm-header.tsx.
npx shadcn@latest add https://pastetaste.com/r/krumm-header.jsonPrompt
Install the pastetaste component "Krumm Header" (krumm-header) into this Next.js project and use it.
What it is: Poster-style fixed header set as four small red corner labels: studio name, link row, live city clock, and a full-screen type menu on phones. Switches tone by the section under it.
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/krumm-header.json
(it writes components/pastetaste/krumm-header.tsx; install any npm packages it reports).
2. Import it: import { KrummHeader } from "@/components/pastetaste/krumm-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 / tagline: string / string = 'Krumm Studio' / 'Motion & identity' — Bold name and the second line in the top left label. No icon; the name is the logo.
- links: { label: string; href: string }[] = five anchor links — Link row in the centre. Under 760px they become the numbered full-screen menu.
- city / timeZone / coords: string = Vienna / Europe/Vienna / coordinates — Label, IANA time zone and second line of the live clock in the top right corner.
- email / phone: string = example contact lines — Contact lines shown at the bottom of the phone menu.
- tone: 'hero' | 'light' = auto — Force a tone. Left undefined, the bar reads the data-tone attribute of the section under it while scrolling.
- paper / ink / accent: string = page colours — Optional CSS colour overrides for the solid bar, menu text and label colour.
Live preview: https://pastetaste.com/c/krumm-header
Then run the dev server, check it in the browser at desktop and mobile width, and tell me the page URL.Props 6
| Prop | Type | Default | Description |
|---|---|---|---|
| brand / tagline | string / string | 'Krumm Studio' / 'Motion & identity' | Bold name and the second line in the top left label. No icon; the name is the logo. |
| links | { label: string; href: string }[] | five anchor links | Link row in the centre. Under 760px they become the numbered full-screen menu. |
| city / timeZone / coords | string | Vienna / Europe/Vienna / coordinates | Label, IANA time zone and second line of the live clock in the top right corner. |
| email / phone | string | example contact lines | Contact lines shown at the bottom of the phone menu. |
| tone | 'hero' | 'light' | auto | Force a tone. Left undefined, the bar reads the data-tone attribute of the section under it while scrolling. |
| paper / ink / accent | string | page colours | Optional CSS colour overrides for the solid bar, menu text and label colour. |