Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.7 KB · Runtime 2.0 KB
slippery-goat-18MITButtonUiverse.io
A button built with plain HTML and CSS by Subaashbala. 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.7 KB · Runtime 2.0 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 class="button">
<div class="bgContainer">
<span>Hover</span>
<span>Hover</span>
</div>
<div class="arrowContainer">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 45 38"
height="25"
width="25"
>
<path
fill="black"
d="M43.7678 20.7678C44.7441 19.7915 44.7441 18.2085 43.7678 17.2322L27.8579 1.32233C26.8816 0.34602 25.2986 0.34602 24.3223 1.32233C23.346 2.29864 23.346 3.88155 24.3223 4.85786L38.4645 19L24.3223 33.1421C23.346 34.1184 23.346 35.7014 24.3223 36.6777C25.2986 37.654 26.8816 37.654 27.8579 36.6777L43.7678 20.7678ZM0 21.5L42 21.5V16.5L0 16.5L0 21.5Z"
></path>
</svg>
</div>
</button>/* From Uiverse.io by Subaashbala - Tags: login, button, transition, hover button */
button {
display: flex;
justify-content: space-around;
align-items: center;
padding: 1em 0em 1em 1em;
background-color: yellow;
box-shadow: 4px 6px 0px black;
border: 4px solid;
border-radius: 15px;
position: relative;
overflow: hidden;
z-index: 100;
transition: box-shadow 250ms, transform 250ms, filter 50ms;
}
button:hover {
transform: translate(2px, 2px);
box-shadow: 2px 3px 0px black;
}
button:active {
filter: saturate(0.75);
}
button::after {
content: "";
position: absolute;
inset: 0;
background-color: pink;
z-index: -1;
transform: translateX(-100%);
transition: transform 250ms;
}
button:hover::after {
transform: translateX(0);
}
.bgContainer {
position: relative;
display: flex;
justify-content: start;
align-items: center;
overflow: hidden;
max-width: 35%; /* adjust this if the button text is not proper */
font-size: 2em;
font-weight: 600;
}
.bgContainer span {
position: relative;
transform: translateX(-100%);
transition: all 250ms;
}
.button:hover .bgContainer > span {
transform: translateX(0);
}
.arrowContainer {
padding: 1em;
margin-inline-end: 1em;
border: 4px solid;
border-radius: 50%;
background-color: pink;
position: relative;
overflow: hidden;
transition: transform 250ms, background-color 250ms;
z-index: 100;
}
.arrowContainer::after {
content: "";
position: absolute;
inset: 0;
border-radius: inherit;
background-color: yellow;
transform: translateX(-100%);
z-index: -1;
transition: transform 250ms ease-in-out;
}
button:hover .arrowContainer::after {
transform: translateX(0);
}
button:hover .arrowContainer {
transform: translateX(5px);
}
button:active .arrowContainer {
transform: translateX(8px);
}
.arrowContainer svg {
vertical-align: middle;
}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 bright yellow button with a thick border and hard black shadow rolls its label and arrow on hover and sinks 2px when pressed.
Bold calls to action on playful and brutalist sites.
Change the yellow fill, the 4px border, the 4px 6px shadow, the 15px radius and the 250ms timing.
Build a "Yellow arrow hover button" component in plain HTML, CSS and JavaScript (no framework). A bright yellow button with a thick border and hard black shadow rolls its label and arrow on hover and sinks 2px when pressed. Use it for: Bold calls to action on playful and brutalist sites. Expose these controls: Change the yellow fill, the 4px border, the 4px 6px shadow, the 15px radius and the 250ms timing. 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.