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

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<div class="container">
<label>
<input class="play-btn" type="checkbox" />
<div class="play-icon"></div>
<div class="pause-icon"></div>
</label>
</div>/* From Uiverse.io by mobinkakei - Tags: switch, checkbox, input, off */
.container {
width: 80px;
height: 80px;
position: relative;
border-radius: 50%;
}
.play-btn {
position: absolute;
appearance: none;
width: 100%;
height: 100%;
border-radius: 50%;
background: conic-gradient(#ff6347, #ff6347);
cursor: pointer;
outline: none;
}
.play-btn::before {
content: "";
position: absolute;
width: 93%;
height: 93%;
background-color: #000;
border-radius: 50%;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
.play-btn:checked {
animation: borderAnimate 700ms ease-in-out 1;
animation-fill-mode: forwards;
}
@keyframes borderAnimate {
0% {
transform: rotate(0);
background: conic-gradient(#ff6347, transparent 20%);
}
80% {
background: conic-gradient(#ff6347, transparent 90%);
}
100% {
transform: rotate(360deg);
background: conic-gradient(#ff6347, #ff6347);
}
}
.play-icon {
position: absolute;
width: 30px;
height: 30px;
left: 60%;
top: 50%;
background-color: #ff6347;
transform: translate(-60%, -50%) rotate(90deg);
clip-path: polygon(50% 15%, 0% 100%, 100% 100%);
transition: all 400ms ease-in-out;
cursor: pointer;
}
.play-btn:checked + .play-icon {
clip-path: polygon(0 100%, 0% 100%, 100% 100%);
}
.pause-icon {
position: absolute;
width: 30px;
height: 30px;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
}
.pause-icon::before {
content: "";
position: absolute;
width: 0%;
height: 100%;
background-color: #ff6347;
left: 0;
}
.pause-icon::after {
content: "";
position: absolute;
width: 0;
height: 100%;
background-color: #ff6347;
right: 0;
}
.play-btn:checked ~ .pause-icon::before {
animation: reveal 300ms ease-in-out 350ms 1;
animation-fill-mode: forwards;
}
.play-btn:checked ~ .pause-icon::after {
animation: reveal 300ms ease-in-out 600ms 1;
animation-fill-mode: forwards;
}
@keyframes reveal {
0% {
width: 0;
}
100% {
width: 35%;
}
}控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
勾选时一圈番茄红的圆锥渐变在 700ms 内转满一周,播放图标同时变成暂停,每次点击都有小奖励。
媒体播放器、音频试听和播客卡片。
调 #ff6347 圆环颜色、700ms 的 borderAnimate 时长和 80px 的圆形尺寸。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「播放暂停圆环复选框」组件。勾选时一圈番茄红的圆锥渐变在 700ms 内转满一周,播放图标同时变成暂停,每次点击都有小奖励。 适用场景:媒体播放器、音频试听和播客卡片。 开放这些可调项:调 #ff6347 圆环颜色、700ms 的 borderAnimate 时长和 80px 的圆形尺寸。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。