Skip to content

PrevNext

The previous and the next page, at the foot of an article, so the reader can go on without the navigation.

import PrevNext from '@sypnia/ui/astro/PrevNext.astro'

On this page
  1. Both ways
  2. When to use it
  3. For everyone

Both ways

On phones they stack.

Code
---
import PrevNext from '@sypnia/ui/astro/PrevNext.astro';
---
<div class="sy-docs" style="min-height:0;background:none"><PrevNext prev={{ title: 'Quickstart', href: '#' }} next={{ title: 'Import a CSV', href: '#' }} /></div>

When to use it

Use it when

  • Pages that are read in order.

Do not use it when

  • Reference pages read one at a time.

For everyone

  • A named navigation landmark; the links say «Previous» and «Next» in words.
  1. Both ways
  2. When to use it
  3. For everyone

    Search pages, sections and terms