Skip to content

Quill docs

Page nav

Previous/next document navigation with disabled missing directions and safe links.

Preview#

This preview is server-rendered from the real qquill-design builder; the page ships the component CSS that builder returns, so the docs cannot drift from the crate API.

Design-system contract#

  • BUILT: emits previous/next relations and disabled spans when a side is missing.
  • BUILT: hrefs and titles are escaped/sanitized.
  • Use in docs, onboarding flows, and long task-first guides.

Code#

Construct the component with its builder:

PageNav::new(
    Some(Target::new("/prev", "Previous page")),
    Some(Target::new("/next", "Next page")),
).render()