Jump To Page
A copy-paste pagination component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
PaginationHTMLCSSany framework
Copy into your project
HTML
<nav class="nuda-pgi">
<button class="nuda-pgi__nav">‹</button>
<span class="nuda-pgi__txt">Go to</span>
<input class="nuda-pgi__field" value="2" />
<span class="nuda-pgi__txt">/ 10</span>
<button class="nuda-pgi__nav">›</button>
</nav>CSS
.nuda-pgi {
display: inline-flex;
align-items: center;
gap: .5rem;
}
.nuda-pgi__nav {
width: 32px;
height: 32px;
border: 1px solid rgba(255,255,255,.1);
background: #161616;
color: #cfcfcf;
border-radius: 7px;
cursor: pointer;
}
.nuda-pgi__txt {
font-size: .75rem;
color: #777;
}
.nuda-pgi__field {
width: 42px;
height: 32px;
text-align: center;
background: #1a1a1a;
border: 1px solid rgba(255,255,255,.12);
border-radius: 7px;
color: #fafafa;
font-size: .8rem;
outline: none;
}
How to use Jump To Page
Paste the HTML where you need it and the CSS into a global stylesheet (or a <style> tag). Every class is prefixed nuda- so it never collides with Tailwind or your own styles. Tweak the CSS custom properties to match your design system.
Works in React, Vue, Svelte, Astro, Next.js, Nuxt, Laravel Blade, Django, Rails — or a single .html file. No npm install, no build step.