© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
A. LibbyDeveloping Web Components with Svelte https://doi.org/10.1007/978-1-4842-9039-2_4

4. Building the Navigation Components

Alex Libby1  
(1)
Belper, Derbyshire, UK
 

“I may not have gone where I intended to go, but I think I have ended up where I needed to be.”

That quote by the author Douglas Adams, from his 1988 detective novel, The Long Dark Tea-Time of the Soul, may have had a somewhat humorous edge, but I think it’s an apt phrase to describe the theme for this chapter – they are all about navigation.

Good navigation is essential for any site – we can produce all manner of different components (such as the ones we’ve built so far) for different pages, ...

Get Developing Web Components with Svelte: Building a Library of Reusable UI Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.