Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.4 KB · Runtime 1.7 KB
tidy-yak-66MITButtonUiverse.io
A button built with plain HTML and CSS by Mohsinech. 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.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.4 KB · Runtime 1.7 KB
Issues 0 · Screen reader: Pass
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.
<div class="btn"><span data-text="Click me">Click me</span></div>/* From Uiverse.io by Mohsinech - Tags: black, button, click */
.btn {
background: transparent;
border: 1px solid #141414;
outline: none;
padding: 12px 40px;
height: 60px;
border-radius: 100px;
overflow: hidden;
transform: scaleX(1);
transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1);
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
}
.btn:hover {
animation: animate-scaleX 0.6s cubic-bezier(0.4, 0, 0, 1);
background: transparent;
}
.btn::after {
content: "";
position: absolute;
left: 0;
bottom: 0;
background: black;
transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1),
border-radius 0.5s cubic-bezier(0.4, 0, 0, 1);
width: 100%;
height: 100%;
border-radius: 50% 50% 0 0;
transform: translateY(100%);
}
.btn:hover::after {
transform: translateY(0%);
border-radius: 0;
}
.btn span {
font-size: 20px;
font-weight: 500;
overflow: hidden;
position: relative;
color: black;
}
.btn span:after {
width: 100%;
height: 100%;
transition: transform 0.5s cubic-bezier(0.4, 0, 0, 1);
content: attr(data-text);
display: flex;
justify-content: center;
align-items: center;
position: absolute;
left: 50%;
bottom: 0;
z-index: 1;
transform: translate(-50%, 100%);
color: white;
}
.btn:hover span:after {
transform: translate(-50%, 0);
}
.btn:focus {
outline: none;
}
@keyframes animate-scaleX {
0% {
transform: scaleX(1);
}
50% {
transform: scaleX(1.05);
}
100% {
transform: scaleX(1);
}
}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.
A thin-outlined rounded button stretches slightly and fills with black from the bottom on hover, with the label sliding to a new copy, smooth and editorial.
Fashion, agency and portfolio calls to action.
Change the #141414 outline, the black fill, the 60px height and the 0.5s cubic-bezier(0.4,0,0,1).
Build a "Ink fill capsule button" component in plain HTML, CSS and JavaScript (no framework). A thin-outlined rounded button stretches slightly and fills with black from the bottom on hover, with the label sliding to a new copy, smooth and editorial. Use it for: Fashion, agency and portfolio calls to action. Expose these controls: Change the #141414 outline, the black fill, the 60px height and the 0.5s cubic-bezier(0.4,0,0,1). 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.