성능
통과프레임 속도: 평균 60 fps, p5 59.5 · 긴 작업: 0개, 총 0 ms, 최장 0 ms · 소스 gzip 1.7 KB · 런타임 2.8 KB
massive-dodo-67MIT토글Uiverse.io
Admin12121가 HTML과 CSS만으로 만든 토글입니다. Uiverse.io에서 MIT 라이선스로 수집했고 여기서 실제로 실행됩니다.
품질 보고
등급과 점수는 빌드 또는 테스트 때 실행한 자동 검사에서 나옵니다. 실행하지 않은 항목은 '미검사'로 표시하며, 숫자를 지어내지 않습니다.
프레임 속도: 평균 60 fps, p5 59.5 · 긴 작업: 0개, 총 0 ms, 최장 0 ms · 소스 gzip 1.7 KB · 런타임 2.8 KB
문제 0 · 스크린 리더: 통과
지속 움직임 없음
넘침 없음
프레임 속도와 긴 작업 수치는 헤드리스 Chromium에서 소프트웨어 WebGL로 측정했습니다. 이 사이트의 컴포넌트끼리만 비교해야 하며, 실제 기기의 성능이 아닙니다.
해당 없음: 정지 상태에서 보이는 애니메이션이 없습니다. 호버로 시작되는 애니메이션은 검사하지 않았습니다.
axe-core 위반이 없습니다.

검사일 2026년 11월 15일 · 수치는 자동 스크립트에서 오며, 손으로 쓴 예시가 아닙니다.
실제 크기로 보여 줍니다.
복사한 내용은 라이선스 고지로 시작합니다. 코드를 쓸 때 남겨 두세요.
<label class="switch-button" for="switch">
<div class="switch-outer">
<input id="switch" type="checkbox">
<div class="button">
<span class="button-toggle"></span>
<span class="button-indicator"></span>
</div>
</div>
</label>/* From Uiverse.io by Admin12121 - Tags: switch, animated, click effect */
.switch-button {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
justify-content: center;
margin: auto;
height: 55px;
}
.switch-button .switch-outer {
height: 100%;
background: #252532;
width: 115px;
border-radius: 165px;
-webkit-box-shadow: inset 0px 5px 10px 0px #16151c, 0px 3px 6px -2px #403f4e;
box-shadow: inset 0px 5px 10px 0px #16151c, 0px 3px 6px -2px #403f4e;
border: 1px solid #32303e;
padding: 6px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.switch-button .switch-outer input[type="checkbox"] {
opacity: 0;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
position: absolute;
}
.switch-button .switch-outer .button-toggle {
height: 42px;
width: 42px;
background: -webkit-gradient(
linear,
left top,
left bottom,
from(#3b3a4e),
to(#272733)
);
background: -o-linear-gradient(#3b3a4e, #272733);
background: linear-gradient(#3b3a4e, #272733);
border-radius: 100%;
-webkit-box-shadow: inset 0px 5px 4px 0px #424151, 0px 4px 15px 0px #0f0e17;
box-shadow: inset 0px 5px 4px 0px #424151, 0px 4px 15px 0px #0f0e17;
position: relative;
z-index: 2;
-webkit-transition: left 0.3s ease-in;
-o-transition: left 0.3s ease-in;
transition: left 0.3s ease-in;
left: 0;
}
.switch-button
.switch-outer
input[type="checkbox"]:checked
+ .button
.button-toggle {
left: 58%;
}
.switch-button
.switch-outer
input[type="checkbox"]:checked
+ .button
.button-indicator {
-webkit-animation: indicator 1s forwards;
animation: indicator 1s forwards;
}
.switch-button .switch-outer .button {
width: 100%;
height: 100%;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: relative;
-webkit-box-pack: justify;
justify-content: space-between;
}
.switch-button .switch-outer .button-indicator {
height: 25px;
width: 25px;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
border-radius: 50%;
border: 3px solid #ef565f;
-webkit-box-sizing: border-box;
box-sizing: border-box;
right: 10px;
position: relative;
}
@-webkit-keyframes indicator {
30% {
opacity: 0;
}
0% {
opacity: 1;
}
100% {
opacity: 1;
border: 3px solid #60d480;
left: -68%;
}
}
@keyframes indicator {
30% {
opacity: 0;
}
0% {
opacity: 1;
}
100% {
opacity: 1;
border: 3px solid #60d480;
left: -68%;
}
}컨트롤 · HTML · CSS · JS
코드를 고치고 컨트롤로 다듬어 보세요. 입력하는 대로 미리보기가 바뀝니다.

이 컴포넌트는 번들된 빌드로 실행되므로 여기서는 스크립트를 읽기만 할 수 있습니다. HTML과 CSS는 수정할 수 있고 전체 소스는 코드 탭에 있습니다.
모든 컴포넌트를 바로 편집하고, 컨트롤로 다듬고, 전체 소스를 내려받고, 고급 프롬프트를 복사하세요.
1회 결제 $49임시 가격
테스트 모드: 실제 결제는 이루어지지 않습니다.
무료: 미리보기, 복사 버튼, 레슨 설명.
깊게 오목한 트랙과 상단 하이라이트 및 그림자가 있는 둥근 손잡이는 마치 오디오 앰프의 스위치처럼 가공된 것처럼 보입니다.
어두운 대시보드, 오디오 또는 스튜디오 도구 및 프리미엄 설정.
#252532 트랙, #3b3a4e에서 #272733 노브 그라디언트, 115px x 55px 크기 및 42px 노브를 변경합니다.
순수 HTML, CSS, JavaScript(프레임워크 없이)로 "어두운 하드웨어 손잡이 스위치" 컴포넌트를 만들어 주세요. 깊게 오목한 트랙과 상단 하이라이트 및 그림자가 있는 둥근 손잡이는 마치 오디오 앰프의 스위치처럼 가공된 것처럼 보입니다. 쓰는 곳: 어두운 대시보드, 오디오 또는 스튜디오 도구 및 프리미엄 설정. 다음 항목을 조정할 수 있게 해 주세요: #252532 트랙, #3b3a4e에서 #272733 노브 그라디언트, 115px x 55px 크기 및 42px 노브를 변경합니다. 라이트와 다크 테마를 지원하고, prefers-reduced-motion에서는 정지 화면을 보여 주고, 글자는 잘 읽히고 컨트롤은 키보드로도 쓸 수 있게 해 주세요. 유료나 제한된 컴포넌트 라이브러리에서 복사하지 말고 직접 작성해 주세요.
조정, 접근성, 연동 단계까지 담은 긴 프롬프트입니다.