Skip to Content

Switch

개별 설정을 켜고 끌 수 있으며, 변경 사항을 즉시 반영합니다.

Live Demo

States
View in Storybook →

Props

PropTypeDefaultDescription
disabledbooleanfalse비활성화 여부를 지정합니다.
color"black" | "primary" | "success" | "info" | "warning" | "error""black"Switch의 색상을 지정합니다.

Anatomy

Switch anatomy

  1. Label (optional)
  2. Track
  3. Handle