Performance
PassFrame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.5 KB · Runtime 1.7 KB
hungry-parrot-44MITButtonUiverse.io
A button built with plain HTML and CSS by satyamchaudharydev. Collected from Uiverse.io under the MIT licence and shown here live.
Quality report
The grade and score come from automated checks run at build or test time. If a check did not run, it is marked Not tested — numbers are never invented.
Frame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.5 KB · Runtime 1.7 KB
Issues 0 · Screen reader: Needs attention
No continuous motion
No overflow
Frame rate and long-task figures were measured in headless Chromium with software WebGL. They are only comparable between components on this site, and do not represent real devices.
Not applicable: no visible animation at rest. Hover-triggered animation was not tested.
No axe-core violations.

Checked Nov 15, 2026 · Figures come from an automated script, not from hand-written samples.
Shown at real size.
The copy starts with the licence notice. Keep it when you use the code.
<button>
<div class="text">
<span>Back</span>
<span>to</span>
<span>top</span>
</div>
<div class="clone">
<span>Back</span>
<span>to</span>
<span>top</span>
</div>
<svg width="20px" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
<path stroke-linecap="round" stroke-linejoin="round" d="M14 5l7 7m0 0l-7 7m7-7H3"></path>
</svg>
</button>/* From Uiverse.io by satyamchaudharydev - Tags: button */
button {
width: 140px;
height: 56px;
overflow: hidden;
border: none;
color: #fff;
background: none;
position: relative;
padding-bottom: 2em;
}
button > div,button > svg {
position: absolute;
width: 100%;
height: 100%;
display: flex;
}
button:before {
content: "";
position: absolute;
height: 2px;
bottom: 0;
left: 0;
width: 100%;
transform: scaleX(0);
transform-origin: bottom right;
background: currentColor;
transition: transform 0.25s ease-out;
}
button:hover:before {
transform: scaleX(1);
transform-origin: bottom left;
}
button .clone > *,button .text > * {
opacity: 1;
font-size: 1.3rem;
transition: 0.2s;
margin-left: 4px;
}
button .clone > * {
transform: translateY(60px);
}
button:hover .clone > * {
opacity: 1;
transform: translateY(0px);
transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
button:hover .text > * {
opacity: 1;
transform: translateY(-60px);
transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0s;
}
button:hover .clone > :nth-child(1) {
transition-delay: 0.15s;
}
button:hover .clone > :nth-child(2) {
transition-delay: 0.2s;
}
button:hover .clone > :nth-child(3) {
transition-delay: 0.25s;
}
button:hover .clone > :nth-child(4) {
transition-delay: 0.3s;
}
/* icon style and hover */
button svg {
width: 20px;
right: 0;
top: 50%;
transform: translateY(-50%) rotate(-50deg);
transition: 0.2s ease-out;
}
button:hover svg {
transform: translateY(-50%) rotate(-90deg);
}Controls · HTML · CSS · JS
Edit the code and tune it with the controls. The preview updates as you type.

This component runs from a bundled build, so its script is read-only here. Edit the HTML and CSS; the full source is in the Code tab.
Edit every component live, tune it with controls, download the full source and copy the advanced prompts.
$49 one-timePlaceholder price
Test mode: no real payment is taken.
Free: preview, copy buttons and the lesson notes.
Back to top rolls word by word to a cloned copy on hover while an underline grows in 0.25s, a tidy finish for long pages.
Back to top links in footers and long articles.
Change the 140px by 56px size, the 0.25s underline transform, the per-word delays and the arrow icon.
Build a "Back to top rolling button" component in plain HTML, CSS and JavaScript (no framework). Back to top rolls word by word to a cloned copy on hover while an underline grows in 0.25s, a tidy finish for long pages. Use it for: Back to top links in footers and long articles. Expose these controls: Change the 140px by 56px size, the 0.25s underline transform, the per-word delays and the arrow icon. Support light and dark themes, respect prefers-reduced-motion with a still frame, keep text readable and controls keyboard accessible. Write original code; do not copy from paid or restricted component libraries.
A longer prompt with tuning, accessibility and integration steps.