The pagination component should be used to navigate between pages of content. Depending on the length provided, the pagination component will automatically scale.
When it is not possible to fit all pages into the component, a truncated option should be used to give the first, last and as many siblings of the current page as possible.
When a user is at the first or last item then the previous or next button, respectively, should be disabled.
To import just this component into your project, copy the snippet below and include it in your main Sass file.
For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.
For more information view the pagination design spec, which includes the specification in markdown format and a PNG image.