Load More
A copy-paste pagination component in pure HTML & CSS. Zero dependencies, framework-agnostic, MIT-licensed.
PaginationHTMLCSSany framework
Copy into your project
HTML
<button class="nuda-pglm">
<span class="nuda-pglm__spin"></span> Load more
</button>CSS
.nuda-pglm {
display: inline-flex;
align-items: center;
gap: .5rem;
background: #161616;
border: 1px solid rgba(255,255,255,.12);
color: #cfcfcf;
border-radius: 99px;
padding: .55rem 1.1rem;
font-size: .8rem;
cursor: pointer;
transition: all .15s;
}
.nuda-pglm:hover {
border-color: rgba(228,255,84,.4);
color: #fafafa;
}
.nuda-pglm__spin {
width: 13px;
height: 13px;
border: 2px solid rgba(255,255,255,.2);
border-top-color: #e4ff54;
border-radius: 50%;
animation: _pglmSpin .7s linear infinite;
}
@keyframes _pglmSpin {
to {
transform: rotate(360deg);
}
}
@media (prefers-reduced-motion:reduce) {
.nuda-pglm__spin {
animation: none;
}
}
How to use Load More
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.