性能
通过帧率: 平均 60 fps,p5 59.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 2.6 KB · 运行时 6.3 KB
silly-dragonfly-82MIT输入框Uiverse.io
LeonKohli 用纯 HTML 和 CSS 做的输入框。按 MIT 许可从 Uiverse.io 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 60 fps,p5 59.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 2.6 KB · 运行时 6.3 KB
问题 0 · 读屏: 需注意
已响应减弱动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<div class="neon-search-container">
<div class="particle-container">
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
<div class="particle"></div>
</div>
<div class="glow-container">
<div class="glow-effect-left"></div>
<div class="glow-effect-right"></div>
<div class="search-bar">
<div class="search-icon">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"
></path>
</svg>
</div>
<input type="text" class="search-input" placeholder="Search..." />
<button class="filter-container">
<div class="filter-icon">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M3 4a1 1 0 011-1h16a1 1 0 011 1v2.586a1 1 0 01-.293.707l-6.414 6.414a1 1 0 00-.293.707V17l-4 4v-6.586a1 1 0 00-.293-.707L3.293 7.293A1 1 0 013 6.586V4z"
></path>
</svg>
</div>
</button>
</div>
</div>
</div>/* From Uiverse.io by LeonKohli - Tags: input, modern, neon, search, neumorphism */
.neon-search-container {
--background-color: rgb(1, 1, 1);
--grid-color: rgb(20, 20, 20);
--glow-color-1: rgba(227, 63, 183, 0.3);
--glow-color-2: rgba(90, 73, 212, 0.3);
--border-color-1: rgba(255, 100, 220, 1);
--border-color-2: rgba(120, 100, 255, 1);
--search-bar-gradient: linear-gradient(
135deg,
rgba(0, 0, 0, 0.541) 0%,
rgba(0, 0, 0, 0.226) 100%
);
--filter-button-gradient: linear-gradient(
135deg,
rgba(120, 100, 255, 0.2) 0%,
rgba(120, 100, 255, 0.1) 100%
);
width: 400px;
height: 120px;
position: relative;
font-family: Arial, sans-serif;
}
.neon-search-container .glow-container {
position: relative;
width: 100%;
height: 100%;
}
.neon-search-container .glow-effect-left,
.neon-search-container .glow-effect-right {
position: absolute;
width: 150px;
height: 150px;
border-radius: 50%;
filter: blur(30px);
transition: all 0.3s ease;
}
.neon-search-container .glow-effect-left {
top: -40px;
left: -30px;
background: radial-gradient(circle, var(--glow-color-1) 0%, transparent 70%);
}
.neon-search-container .glow-effect-right {
bottom: -40px;
right: -30px;
background: radial-gradient(circle, var(--glow-color-2) 0%, transparent 70%);
}
.neon-search-container .search-bar {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
align-items: center;
width: 350px;
height: 60px;
background: var(--search-bar-gradient);
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
overflow: visible;
transition: all 0.3s ease;
}
.neon-search-container .search-bar::before,
.neon-search-container .search-bar::after {
content: "";
position: absolute;
width: 60%;
height: 60%;
pointer-events: none;
transition: all 0.3s ease;
}
.neon-search-container .search-bar::before {
top: 0;
left: 0;
background: linear-gradient(to right, var(--border-color-1), transparent),
linear-gradient(to bottom, var(--border-color-1), transparent);
background-size: 100% 2px, 2px 100%;
background-repeat: no-repeat;
border-top-left-radius: 8px;
}
.neon-search-container .search-bar::after {
bottom: 0;
right: 0;
background: linear-gradient(to left, var(--border-color-2), transparent),
linear-gradient(to top, var(--border-color-2), transparent);
background-size: 100% 2px, 2px 100%;
background-repeat: no-repeat;
background-position: bottom right;
border-bottom-right-radius: 8px;
}
.neon-search-container .search-input {
flex-grow: 1;
height: 100%;
padding: 0 20px;
border: none;
background-color: transparent;
color: white;
font-size: 18px;
outline: none;
transition: all 0.3s ease;
}
.neon-search-container .search-input::placeholder {
color: rgba(255, 255, 255, 0.5);
transition: all 0.3s ease;
}
.neon-search-container .search-icon,
.neon-search-container .filter-icon {
display: flex;
justify-content: center;
align-items: center;
width: 24px;
height: 24px;
opacity: 0.7;
transition: all 0.3s ease;
}
.neon-search-container .search-icon {
margin-left: 20px;
}
.neon-search-container .search-icon svg,
.neon-search-container .filter-icon svg {
width: 100%;
height: 100%;
stroke: white;
transition: all 0.3s ease;
}
.neon-search-container .filter-container {
position: absolute;
right: 10px;
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
background: var(--filter-button-gradient);
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
cursor: pointer;
}
/* Animations */
.neon-search-container .search-bar:focus-within {
box-shadow: 0 0 15px rgba(255, 100, 220, 0.3),
0 0 15px rgba(120, 100, 255, 0.3);
}
.neon-search-container .search-bar:focus-within::before,
.neon-search-container .search-bar:focus-within::after {
width: 70%;
height: 70%;
}
.neon-search-container .search-input:focus::placeholder {
opacity: 0;
transform: translateX(-10px);
}
.neon-search-container .search-icon svg {
animation: pulse 2s infinite;
}
.neon-search-container .filter-container:hover {
background: var(--filter-button-gradient);
transform: scale(1.05);
box-shadow: 0 0 15px rgba(120, 100, 255, 0.5);
}
.neon-search-container .filter-container:hover .filter-icon svg {
transform: rotate(15deg);
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
.neon-search-container:hover .glow-effect-left {
transform: translate(5px, 5px);
}
.neon-search-container:hover .glow-effect-right {
transform: translate(-5px, -5px);
}
/* Particle effect */
/* Enhanced Particle effect */
.neon-search-container .particle-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 1;
pointer-events: none;
}
.neon-search-container .particle {
position: absolute;
width: 3px;
height: 3px;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 50%;
animation: particleFloat 20s linear infinite;
}
.neon-search-container .particle:nth-child(1) {
top: 20%;
left: 20%;
animation-delay: 0s;
}
.neon-search-container .particle:nth-child(2) {
top: 40%;
left: 10%;
animation-delay: -2s;
}
.neon-search-container .particle:nth-child(3) {
top: 10%;
left: 50%;
animation-delay: -4s;
}
.neon-search-container .particle:nth-child(4) {
top: 30%;
left: 30%;
animation-delay: -6s;
}
.neon-search-container .particle:nth-child(5) {
top: 5%;
left: 70%;
animation-delay: -8s;
}
.neon-search-container .particle:nth-child(6) {
top: 60%;
left: 80%;
animation-delay: -10s;
}
.neon-search-container .particle:nth-child(7) {
top: 70%;
left: 5%;
animation-delay: -12s;
}
.neon-search-container .particle:nth-child(8) {
top: 80%;
left: 60%;
animation-delay: -14s;
}
@keyframes particleFloat {
0% {
transform: translate(0, 0) scale(1);
opacity: 0;
}
10% {
opacity: 1;
}
90% {
opacity: 1;
}
100% {
transform: translate(200px, 300px) scale(0.2);
opacity: 0;
}
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
粉紫光晕、细网格和漂浮的粒子围着深色搜索栏,搜索像在操作科幻控制台。
AI 产品、游戏网站和未来感落地页。
设置 --glow-color-1、--glow-color-2、--border-color-1、--border-color-2、--background-color 和 --grid-color。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「霓虹粒子搜索栏」组件。粉紫光晕、细网格和漂浮的粒子围着深色搜索栏,搜索像在操作科幻控制台。 适用场景:AI 产品、游戏网站和未来感落地页。 开放这些可调项:设置 --glow-color-1、--glow-color-2、--border-color-1、--border-color-2、--background-color 和 --grid-color。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。