性能
通过帧率: 平均 60 fps,p5 59.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 1.4 KB · 运行时 1.3 KB
moody-dog-23MIT单选组Uiverse.io
gharsh11032000 用纯 HTML 和 CSS 做的单选组。按 MIT 许可从 Uiverse.io 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 60 fps,p5 59.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 1.4 KB · 运行时 1.3 KB
问题 0 · 读屏: 通过
没有持续动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
不适用:静止时没有可见动画;由悬停触发的动画没有测试。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<div class="radio-button-container">
<div class="radio-button">
<input type="radio" class="radio-button__input" id="radio1" name="radio-group">
<label class="radio-button__label" for="radio1">
<span class="radio-button__custom"></span>
React
</label>
</div>
<div class="radio-button">
<input type="radio" class="radio-button__input" id="radio2" name="radio-group">
<label class="radio-button__label" for="radio2">
<span class="radio-button__custom"></span>
Angular
</label>
</div>
<div class="radio-button">
<input type="radio" class="radio-button__input" id="radio3" name="radio-group">
<label class="radio-button__label" for="radio3">
<span class="radio-button__custom"></span>
Vue
</label>
</div>
</div>/* From Uiverse.io by gharsh11032000 - Tags: radio, radio-buttons, click effect */
.radio-button-container {
display: flex;
align-items: center;
gap: 24px;
}
.radio-button {
display: inline-block;
position: relative;
cursor: pointer;
}
.radio-button__input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.radio-button__label {
display: inline-block;
padding-left: 30px;
margin-bottom: 10px;
position: relative;
font-size: 15px;
color: #f2f2f2;
font-weight: 600;
cursor: pointer;
text-transform: uppercase;
transition: all 0.3s ease;
}
.radio-button__custom {
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid #555;
transition: all 0.3s ease;
}
.radio-button__input:checked + .radio-button__label .radio-button__custom {
background-color: #4c8bf5;
border-color: transparent;
transform: scale(0.8);
box-shadow: 0 0 20px #4c8bf580;
}
.radio-button__input:checked + .radio-button__label {
color: #4c8bf5;
}
.radio-button__label:hover .radio-button__custom {
transform: scale(1.2);
border-color: #4c8bf5;
box-shadow: 0 0 20px #4c8bf580;
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
选中的圆点缩到 0.8 倍并泛起柔和蓝光,文字也一起变蓝,扫一眼就知道选了哪个。
技术栈选择、简短测验和三到五个选项的设置。
换 #4c8bf5 强调色和它的光晕阴影、20px 的圆圈尺寸,以及选项之间 24px 的间距。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「发光蓝色单选组」组件。选中的圆点缩到 0.8 倍并泛起柔和蓝光,文字也一起变蓝,扫一眼就知道选了哪个。 适用场景:技术栈选择、简短测验和三到五个选项的设置。 开放这些可调项:换 #4c8bf5 强调色和它的光晕阴影、20px 的圆圈尺寸,以及选项之间 24px 的间距。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。