nav.sequel

The previous or next page at the foot of a guide read in order, with an arrow pointing its way. Put the icon on the side it points to

Component

Renders

<a>

Profile

Example

Preview
default
<Action intent="nav.sequel" href="/somewhere">Sequence</Action>

Code that says sequence, guide points here. prongs check warns when an element with this intent has a handler or label that points somewhere else.

Choosing between neighbours

Find the row that describes your element, and use the intent on the right.

  • If it is

    Use

  • The previous or next page at the foot of a guide read in order, with an arrow pointing its way. Put the icon on the side it points to

    nav.sequel this page
  • Page numbers below a long list

    nav.paging
  • Steps in a multi-step flow

    nav.step

Connections

Declared in the registry, both directions. Where an intent is used in your own code is something check and the gallery see; this site has no app code.

For registry authors

Starter intents. These are the intents prongs add puts in your registry, shown in this site’s theme. Yours are your own registry.ts: rename, restyle and add to them, and see them with prongs add gallery.

What this intent is built from and its entry in components/prongs/registry.ts. You only need this to change how it looks or to add an intent like it.

How nav.sequel resolves, and its definition

Each layer adds to the one before it; a later class wins over an earlier one that sets the same thing.

  • tone.default

    Main text colour

    text-foreground
  • nav.sequel

    The previous or next page at the foot of a guide read in order, with an arrow pointing its way. Put the icon on the side it points to

    inline-flex w-fit items-center gap-1.5 whitespace-nowrap
    underline-offset-4 hover:underline focus-visible:underline
    focus-visible:outline-none
Final classes
text-foreground inline-flex w-fit items-center gap-1.5
whitespace-nowrap underline-offset-4 hover:underline
focus-visible:underline focus-visible:outline-none
Definition
TS
'nav.sequel': {
kind: 'semantic',
description: 'The previous or next page at the foot of a guide read in order, with an arrow pointing its way. Put the icon on the side it points to',
refs: ['tone.default'],
keywords: ['sequence', 'guide'],
binding: {
classes: 'inline-flex w-fit items-center gap-1.5 whitespace-nowrap underline-offset-4 hover:underline focus-visible:underline focus-visible:outline-none',
},
notFor: [
{ context: 'page numbers below a long list', instead: 'nav.paging' },
{ context: 'steps in a multi-step flow', instead: 'nav.step' },
],
},