Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 1.6 KB · Runtime 1.5 KB
strange-penguin-42MITButtonUiverse.io
A button built with plain HTML and CSS by vinodjangid07. 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.6 KB · Runtime 1.5 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 class="Btn-container">
<span class="inner-wrapper">
<span class="text">
<p>Upgrade to</p>
<p class="pro">PRO</p>
</span>
<span class="icon">
<svg viewBox="0 0 384 512" xmlns="http://www.w3.org/2000/svg">
<path
d="M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"
></path>
</svg>
</span>
</span>
</button>/* From Uiverse.io by vinodjangid07 - Website: https://dribbble.com/shots/18149466-Upgrade-to-Pro-Button/attachments/13347110?mode=media - Name: Mobin Madadi - Tags: link, button, hover, active, hover effect, pro, upgrade, redirect */
.Btn-container {
width: fit-content;
height: fit-content;
border: none;
background-color: #ebebeb;
padding: 10px;
border-radius: 10px;
box-shadow: 0px 2px 5px #e1e1e1;
transition: 0.2s;
}
.inner-wrapper {
width: fit-content;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
background-color: #f7f7f7;
border-radius: 5px;
padding: 8px 15px;
box-shadow: 0px 4px 10px #d3d3d3;
gap: 50px;
transition: 0.2s;
}
.text {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
}
.text p {
font-size: 1.2em;
font-weight: 600;
color: rgb(140, 140, 140);
}
.text .pro {
background-color: black;
color: white;
padding: 4px 8px;
border-radius: 5px;
}
.icon {
width: 40px;
height: 40px;
background-color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transform: rotate(45deg);
transition: 0.2s;
}
.icon svg {
width: 15px;
}
.Btn-container:active {
transform: scale(1);
}
.Btn-container:active .inner-wrapper {
transform: scale(0.97);
}
.Btn-container:hover .icon {
transform: rotate(0deg);
}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 light grey frame holds an inner raised panel with Upgrade to PRO and an icon, so the offer looks like a premium badge.
Upgrade prompts in sidebars, settings and pricing pages.
Change the #ebebeb frame, the #f7f7f7 inner panel, the 4px 10px shadow, the 50px gap and the 0.2s transition.
Build a "Upgrade to PRO button" component in plain HTML, CSS and JavaScript (no framework). A light grey frame holds an inner raised panel with Upgrade to PRO and an icon, so the offer looks like a premium badge. Use it for: Upgrade prompts in sidebars, settings and pricing pages. Expose these controls: Change the #ebebeb frame, the #f7f7f7 inner panel, the 4px 10px shadow, the 50px gap and the 0.2s 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.