12 projects, 3 in review.
Last change 5 minutes ago.
Notifications and team permissions.
Page numbers with a clear active page.
<style>
.ux-pager{display:flex;gap:6px}
.ux-pager input{position:absolute;opacity:0}
.ux-pager label{display:grid;place-items:center;width:38px;height:38px;border-radius:calc(10px * var(--r,1));font:600 14px system-ui;color:var(--fg,#14151a);cursor:pointer;transition:background var(--dur,.15s) var(--ease,ease)}
.ux-pager label:hover{background:var(--soft,#eceef3)}
.ux-pager input:checked+label{background:var(--accent,#cc4a26);color:#fff}
.ux-pager input:focus-visible+label{outline:2px solid var(--accent,#cc4a26);outline-offset:2px}
</style>
<div class="ux-pager" role="radiogroup" aria-label="Page">
<input type="radio" name="ux-pg" id="ux-pg1" checked><label for="ux-pg1">1</label>
<input type="radio" name="ux-pg" id="ux-pg2"><label for="ux-pg2">2</label>
<input type="radio" name="ux-pg" id="ux-pg3"><label for="ux-pg3">3</label>
<input type="radio" name="ux-pg" id="ux-pg4"><label for="ux-pg4">4</label>
<input type="radio" name="ux-pg" id="ux-pg5"><label for="ux-pg5">5</label>
</div>Use this to help people move around your product or understand where they are, rather than to submit data or trigger a one-off action.
It is fully keyboard operable: tab to it and use the keys you would expect (space, enter or the arrow keys) to change its value, with a visible focus ring so sighted keyboard users can always see where they are. It has no JavaScript dependency, so it keeps working if a script fails to load, and it is built on native form controls or semantics rather than divs pretending to be one. Colors are read from CSS custom properties, so they follow your light or dark theme and you can raise contrast globally without touching this component.