Performance
PassFrame rate: 60 fps average, p5 59.5 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.4 KB · Runtime 1.1 KB
mighty-moose-66MITButtonUiverse.io
A button built with plain HTML and CSS by andrew-demchenk0. 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.4 KB · Runtime 1.1 KB
Issues 1 · 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.

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 type="button" class="button">
<span class="button__text">Add Item</span>
<span class="button__icon"><svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24" stroke-width="2" stroke-linejoin="round" stroke-linecap="round" stroke="currentColor" height="24" fill="none" class="svg"><line y2="19" y1="5" x2="12" x1="12"></line><line y2="12" y1="12" x2="19" x1="5"></line></svg></span>
</button>/* From Uiverse.io by andrew-demchenk0 - Tags: green, button, add */
.button {
position: relative;
width: 150px;
height: 40px;
cursor: pointer;
display: flex;
align-items: center;
border: 1px solid #34974d;
background-color: #3aa856;
}
.button, .button__icon, .button__text {
transition: all 0.3s;
}
.button .button__text {
transform: translateX(30px);
color: #fff;
font-weight: 600;
}
.button .button__icon {
position: absolute;
transform: translateX(109px);
height: 100%;
width: 39px;
background-color: #34974d;
display: flex;
align-items: center;
justify-content: center;
}
.button .svg {
width: 30px;
stroke: #fff;
}
.button:hover {
background: #34974d;
}
.button:hover .button__text {
color: transparent;
}
.button:hover .button__icon {
width: 148px;
transform: translateX(0);
}
.button:active .button__icon {
background-color: #2e8644;
}
.button:active {
border: 1px solid #2e8644;
}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 green button with a plus icon on the right; on hover the icon panel slides across to fill the whole button.
Add-to-cart, add-row and create-new actions.
Change the #3aa856 and #34974d greens, the 150px by 40px size and the 0.3s transition.
Build a "Add item slide button" component in plain HTML, CSS and JavaScript (no framework). A green button with a plus icon on the right; on hover the icon panel slides across to fill the whole button. Use it for: Add-to-cart, add-row and create-new actions. Expose these controls: Change the #3aa856 and #34974d greens, the 150px by 40px size and the 0.3s transition. 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.