UI & UX

Sticky Header

Implements stable, accessible sticky headers with correct anchor offsets and no layout shift.

What it does

Implements stable, accessible sticky headers with correct anchor offsets and no layout shift.

When to use it

Use for persistent navigation, shrink/hide-on-scroll headers, or fixing anchor and stacking bugs.

Problems it prevents

Stops sticky headers that jump, overlap content, or break anchor links to in-page sections.

Typical workflow

  1. Reserve height to prevent layout shift
  2. Set correct scroll-padding for anchors
  3. Implement shrink/hide behaviour if used
  4. Verify no stacking conflicts

Example output

A header that stays stable on scroll with anchor links that land in the right place, not hidden underneath it.

What's included

  1. 01
    The complete prompt

    The full manual as a ready-to-save SKILL.md file, matched exactly to what ships in the T7 library.

  2. 02
    Install walkthrough

    Personal (~/.claude/skills/) and project (.claude/skills/) folder instructions, whichever fits how you work.

  3. 03
    Use notes

    How Claude invokes it, what a good result looks like, and what to check before you trust the output.

Installation

Save the manual as SKILL.md in ~/.claude/skills/sticky-header/ to use it on every project, or in .claude/skills/sticky-header/ to scope it to one repository. Then invoke it directly:

/sticky-header

Read the official Claude Code skills guide

Works well with

Save by bundling

Get Sticky Header as part of Brand Builder: five skills that work together as one toolkit, for £1.96 less than buying all five separately.

View Brand Builder (£9.49)