kirupa.com

06 / COMPONENTS / NAVIGATION

Keep going

Where to read next, after an article's Conclusion and before its quiz callout: one prominent Next in series card, an optional Previously link, and up to three Related cards with icons and one-line descriptions.

Navigation1 variantcomponent

Live preview

LOCAL PREVIEW

Activate this specimen to load its real styles. No saved preferences change.

Notes

Place it after the Conclusion (and its Markdown/plain-text note) and before the quiz callout, as a section of article#tutorialInformation with h2 id="keep-going". Next in series is the article's real next article in its section rail (skip labs and other companion pages in favor of the next article, and list those under Related instead); Previously is optional. Related holds at most three cards picked for genuine topical fit, including at most one AI Fundamentals page and only when it truly connects; never pad it. Every card gets a distinct site icon set inline as --icon (reuse the destination's rail icon when it has one) and a one-line description of what that page gives the reader, in the site's casual voice. Use native links with absolute kirupa.com URLs, rel="next"/rel="prev" on the series links, and no extra script. It doesn't replace the shared Previous/Next arrows from ssi/kirupa_sig.shtml. Add a matching relatedLink list on the page's WebPage node in a separate application/ld+json block; python3 tools/site_metadata.py --check fails if a relatedLink URL isn't linked in the block. Mirror it in the twins as a ## Keep Going list.

Usage

Keep going

Example composed with native selectors / Rendered markup
<section class="keepGoing" aria-labelledby="keep-going">
  <h2 id="keep-going">Keep Going</h2>
  <div class="keepGoing__series">
    <a class="keepGoing__next" href="https://www.kirupa.com/section/next.htm" rel="next" style="--icon: url('https://www.kirupa.com/icon/1f6e3.svg');">
      <span class="keepGoing__eyebrow">Next in series</span>
      <span class="keepGoing__title">Next Article Title</span>
      <span class="keepGoing__blurb">One line on why it's the natural next step.</span>
    </a>
    <a class="keepGoing__prev" href="https://www.kirupa.com/section/previous.htm" rel="prev" style="--icon: url('https://www.kirupa.com/icon/1f6b6.svg');">
      <span class="keepGoing__eyebrow">Previously</span>
      <span class="keepGoing__title">Previous Article Title</span>
    </a>
  </div>
  <p class="keepGoing__label" id="keep-going-related">Related</p>
  <ul class="keepGoing__related" aria-labelledby="keep-going-related">
    <li><a class="keepGoing__card" href="https://www.kirupa.com/section/related.htm" style="--icon: url('https://www.kirupa.com/icon/1f9ea.svg');"><span class="keepGoing__title">Related Title</span><span class="keepGoing__blurb">One-line description.</span></a></li>
  </ul>
</section>

Anatomy

Selectors#mainContent .keepGoing .keepGoing__next#mainContent .keepGoing .keepGoing__prev#mainContent .keepGoing .keepGoing__related.keepGoing__related#mainContent .keepGoing .keepGoing__card

Properties--linkForeground--bodyText--inputBorder--primaryLightest--linkHoverBackground--darkTextSecondary--pageBackground

Sources

Agent Instructions / components

You are composing a current-shell KIRUPA page. Read /design/components.json and the relevant entry in /design/sections/components.md for selectors, variants, source files, and usage. Start from an adjacent working page and reuse its SSI structure and named component classes. When a link needs to look like a link inside the tutorial body, add the blueEmphasis class to its anchor, including in component examples. Style class names, IDs, and code identifiers in explanatory prose with inlineCode. Choose semantic HTML before adding JavaScript. Use visible labels, keyboard-operable controls, clear focus, and explicit loading/error/empty states. Keep forms inert in documentation specimens and label demo output. Preserve the article's reading rhythm and code overflow containment. Verify the component in each visual style and both modes. Do not initialize onboarding, tracking, a live chat request, or a subscription in a preview. Keep reference and navigation descriptions short and factual. Follow WCAG 2.2 AA for new or changed content: semantic HTML, keyboard access, visible focus, readable contrast in every theme, text alternatives, labeled controls, and explicit errors. Support zoom/reflow, respect reduced motion, and keep sound optional. Read /design/sections/accessibility.md for acceptance checks. Report unresolved barriers; automated checks alone do not establish conformance.