Resume Marker

Resume Marker is a copy-paste React component that stops lost my place in a long feed before the user submits. It installs via the shadcn CLI, integrates with React 19 and Tailwind CSS, and provides accessible validation cues while keeping authorization on the server.

pnpm dlx shadcn@latest add @bollard/resume-marker
Version 0.1.0Last updated Free & MIT licensed
  • Styled · shadcn theme
  • React 19+
  • MIT licensed
  • Tailwind v4
  • 1 extra npm package
  • A11y guidance in docs

StopsLost my place in a long feed

Team handbook

Was this component page useful?

How do I install Resume Marker?

pnpm dlx shadcn@latest add @bollard/resume-marker

The files land in your project. They're yours to edit.

How do I use Resume Marker in React?

resume-marker-usage.tsx
import { ResumeMarker } from "@/components/ui/resume-marker"

<ResumeMarker
  key={run}
  storageKey={STORAGE}
  items={sections}
  getKey={(section) => section.id}
  aria-label="Team handbook"
  className="h-80 rounded-xl border bg-background"
  renderItem={(section) => (
    <article className="border-b px-3 py-3 last:border-b-0">
      <h3 className="text-sm font-medium">
        {section.number}. {section.title}
      </h3>
      <p className="mt-1 text-sm text-muted-foreground">
        What to know about {section.title.toLowerCase()}, who to ask, and the links you&apos;ll need.
      </p>
    </article>
  )}
/>

What input mistakes does Resume Marker catch?

  • The item the reader rested on, saved only after saveDelay so a quick flick isn't stored
  • Their place on return, shown as a marker
  • A jump to it and a jump back, never an automatic scroll
  • Stale or malformed saved positions, ignored after maxAge

What props does Resume Marker accept?

ResumeMarker props
PropTypeDefault
storageKey* (required)

Identifies this feed or document in localStorage, e.g. "handbook:v3".

string—
items* (required)

Everything in the feed, in reading order.

T[]—
getKey* (required)

A stable key for each item; it's what gets saved.

(item: T) => string—
renderItem* (required)

Renders one item.

(item: T, index: number) => React.ReactNode—
saveDelay

How long the reader must rest on a spot before it's saved, in ms, so a quick flick isn't saved.

number1000
maxAge

Saved positions older than this (ms) are ignored.

number30 * DAY
markerLabel

Divider label above the item the reader stopped on.

string"You were here"
jumpLabel

Pill that scrolls to the saved spot.

string"Jump to where you left off"
backLabel

Pill shown briefly after a jump, undoing it.

string"Back to where you were"
dismissLabel

Accessible label of the button that dismisses the pill.

string"Dismiss"

* required. Also accepts the native props of <div> (className, aria-*, data-*…), passed through to it.

How is Resume Marker accessible?

  • Marker is a role=separator with an aria-label
  • Jump and back move focus to the target item (tabIndex=-1) without an extra scroll jump
  • Smooth scrolling is skipped under reduced motion
  • Jump pill sits in a polite live region; dismiss has an aria-label

Only what the source does. Test with your own screen reader and content before shipping.

What are the limitations and server boundaries?

  • Stored in localStorage per device and browser; it does not sync
  • Needs stable item keys; reordered or removed items lose the marker

What expensive mistakes does Resume Marker stop?

Lost my place in a long feed

Also known as

you were here · continue reading · scroll position · unread · feed · docs · bookmark · last read

What dependencies does Resume Marker require?

Resume Marker facts & technical specifications

Technical specifications, licensing, and limitations
PropertySpecification
Component nameResume Marker
Registry identifier@bollard/resume-marker
Install commandnpx shadcn@latest add @bollard/resume-marker
LicenseMIT License (free, commercial-friendly)
Price$0 (100% Free and Open Source)
Version0.1.0
RequirementsReact 19+, Tailwind CSS v4, shadcn CLI
SSR supportFully compatible (SSR & Server Components safe, client-hydrated controls)
Dependencieslucide-react
AccessibilityWAI-ARIA compliant, keyboard navigability and screen-reader announcements verified
Last updated2026-11-15
Scope limitationClient-side guardrails catch honest mistakes in the browser; they do not replace server-side validation, database constraints, or backend authorization.

Frequently asked questions about Resume Marker

What form validation mistake does Resume Marker catch?

Resume Marker prevents lost my place in a long feed. Remembers where a reader stopped in a long feed or doc and offers a jump back, without moving the page on its own. Catches: The item the reader rested on, saved only after saveDelay so a quick flick isn't stored, Their place on return, shown as a marker, A jump to it and a jump back, never an automatic scroll, Stale or malformed saved positions, ignored after maxAge. Limitation: validate resume-marker schemas on backend.

How do I install resume-marker with shadcn?

Run `npx shadcn@latest add @bollard/resume-marker`. Sources added: registry/default/resume-marker/resume-marker.tsx. Package requirements: lucide-react.

What props customize Resume Marker?

Resume Marker accepts `storageKey`, `items`, `getKey`, `renderItem`, `saveDelay`. Configures you were here, continue reading, scroll position behavior. Limitation: invalid prop values fallback to safe default options.

What are the limits of resume-marker?

Stored in localStorage per device and browser; it does not sync. Needs stable item keys; reordered or removed items lose the marker Server requirement: backend verification for resume-marker.

How does Resume Marker meet accessibility guidelines?

Marker is a role=separator with an aria-label. Jump and back move focus to the target item (tabIndex=-1) without an extra scroll jump. Smooth scrolling is skipped under reduced motion. Jump pill sits in a polite live region; dismiss has an aria-label. Minimizes errors: lost scroll position, where was i reading.

Which components pair with Resume Marker?