Performance
PassFrame rate: 60 fps average, p5 59.9 · Long tasks: 0 tasks, 0 ms total, longest 0 ms · Source gzip 2.1 KB · Runtime 2.6 KB
lazy-frog-59MITInputUiverse.io
A input built with plain HTML and CSS by Cobp. 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 2.1 KB · Runtime 2.6 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.
<div class="container">
<div class="shadow-container"></div>
<label class="search-bar" for="text">
<i class="icon">
<svg viewBox="0 0 512 512">
<path
d="M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z"
stroke-width="32"
stroke-miterlimit="10"
stroke="currentColor"
fill="none"
></path>
<path
d="M338.29 338.29L448 448"
stroke-width="32"
stroke-miterlimit="10"
stroke-linecap="round"
stroke="currentColor"
fill="none"
></path>
</svg>
</i>
<input
placeholder="Search..."
class="input"
name="text"
type="text"
id="text"
/>
<button class="icon filter" type="button">
<svg viewBox="0 0 24 24">
<path
color="currentColor"
d="M8.857 12.506C6.37 10.646 4.596 8.6 3.627 7.45c-.3-.356-.398-.617-.457-1.076c-.202-1.572-.303-2.358.158-2.866S4.604 3 6.234 3h11.532c1.63 0 2.445 0 2.906.507c.461.508.36 1.294.158 2.866c-.06.459-.158.72-.457 1.076c-.97 1.152-2.747 3.202-5.24 5.065a1.05 1.05 0 0 0-.402.747c-.247 2.731-.475 4.227-.617 4.983c-.229 1.222-1.96 1.957-2.888 2.612c-.552.39-1.222-.074-1.293-.678a196 196 0 0 1-.674-6.917a1.05 1.05 0 0 0-.402-.755"
stroke-width="1.5"
stroke-linejoin="round"
stroke-linecap="round"
stroke="currentColor"
fill="none"
></path>
</svg>
</button>
</label>
</div>/* From Uiverse.io by Cobp - Tags: material design, blue, pink, input, search, shadow, html, css */
.container {
--foreground-color-1: rgba(225, 225, 225, 0.5);
--foreground-color-3: rgba(98, 98, 98, 0.3);
--foreground-color-2: #ffffff;
--background-color-1: #070807;
position: relative;
padding: 2px;
border-radius: 16px;
background-image: linear-gradient(
325deg,
#4d3acd 0%,
#4d3acd 10%,
rgba(98, 98, 98, 0.3) 25%,
rgba(98, 98, 98, 0.3) 50%,
rgba(98, 98, 98, 0.3) 75%,
#cd3aad 90%,
#cd3aad 100%
);
}
.container::after {
content: "";
position: absolute;
top: 0;
left: 0;
background-color: #ffffff;
width: 60px;
height: 30px;
border-radius: 14px 50% 0 10px;
z-index: -1;
box-shadow: 0 0 4px #ffffff, 0 0 50px 1px #ffffff, 0 0 50px 10px #cd3aad;
}
.container::before {
content: "";
position: absolute;
bottom: 0;
right: 0;
background-color: #ffffff;
width: 60px;
height: 30px;
border-radius: 0 10px 14px 50%;
z-index: -1;
box-shadow: 0 0 4px #ffffff, 0 0 10px 1px #ffffff, 0 0 50px 10px #4d3acd;
}
.shadow-container {
position: absolute;
border-radius: 16px;
background-image: linear-gradient(
325deg,
#3b82f6 0%,
#3b82f6 20%,
transparent 25%,
transparent 50%,
transparent 75%,
#cd3aad 80%,
#cd3aad 100%
);
filter: blur(40px);
inset: 0;
transition: all 0.3s ease-in-out;
z-index: -1;
}
.search-bar {
padding: 8px;
background-color: var(--background-color-1);
color: var(--foreground-color-1);
display: flex;
align-items: center;
justify-content: center;
border-radius: 14px;
cursor: text;
}
.icon {
width: 32px;
height: 32px;
display: flex;
align-items: center;
justify-content: center;
}
.icon svg {
padding: 4px;
}
.icon.filter {
border: 2px solid transparent;
background-image: linear-gradient(
to top,
#5b5b5b 0%,
#070807 40%,
#070807 60%,
#5b5b5b 100%
);
border-radius: 8px;
color: var(--foreground-color-2);
cursor: pointer;
}
.icon.filter svg {
border-radius: 6px;
background-color: var(--background-color-1);
box-shadow: inset 0 3px 3px -2px #424242, inset 0 -3px 3px -2px #424242;
transition: all 0.3s ease;
}
.icon.filter:hover svg {
scale: 1.1;
}
.input {
margin-left: 5px;
background-color: transparent;
border: none;
outline: none;
caret-color: var(--foreground-color-2);
color: var(--foreground-color-2);
font-size: 14px;
}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 black search bar with icon and filter button sits in a 2px frame lit violet at one corner, sleek and modern.
Dark dashboards, SaaS tools and command palettes.
Set --foreground-color-1, --foreground-color-2, --foreground-color-3, --background-color-1 and the #4d3acd gradient corner.
Build a "Violet edge glass search bar" component in plain HTML, CSS and JavaScript (no framework). A black search bar with icon and filter button sits in a 2px frame lit violet at one corner, sleek and modern. Use it for: Dark dashboards, SaaS tools and command palettes. Expose these controls: Set --foreground-color-1, --foreground-color-2, --foreground-color-3, --background-color-1 and the #4d3acd gradient corner. 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.