Communitygithub.com

COTA-App/LandingPage

Apple HIG 가이드: 선택 및 입력 컨트롤 (피커, 토글, 슬라이더, 스테퍼, 세그먼트 컨트롤, 콤보 박스, 텍스트 필드, 텍스트 뷰, 레이블, 토큰 필드, 가상 키보드, 평점 표시기, 게이지). 사용자가 '피커 또는 세그먼트 컨트롤', '폼 디자인 방법', '키보드 타입 선택', '토글 vs 체크박스' 등 컨트롤 디자인과 관련된 질문을 할 때 사용합니다.

LandingPage란 무엇인가요?

이 스킬은 Apple의 휴먼 인터페이스 가이드라인(HIG)에 따라 선택 및 입력 컨트롤을 설계하고 구현하는 방법을 제공합니다. 피커, 토글, 슬라이더, 스테퍼, 세그먼트 컨트롤, 콤보 박스, 텍스트 필드, 텍스트 뷰, 레이블, 토큰 필드, 가상 키보드, 평점 표시기, 게이지 등 다양한 컨트롤에 대해 각각의 적합한 사용 사례와 상태 관리, 유효성 검사, 접근성 관련 지침을 설명합니다. 이 스킬은 Claude Code, Cursor, Codex 등 AI 에이전트에서 사용할 수 있으며, 사용자가 '이 폼에서 어떤 컨트롤을 써야 하나요?' 또는 '토글과 체크박스 중 어떤 게 나을까요?' 같은 질문을 할 때 적절한 컨트롤을 추천하고 근거를 제시합니다. 또한 macOS 전용 컨트롤(콤보 박스, 토큰 필드)과 iOS 전용 컨트롤을 구분하여 플랫폼에 맞는 권장 사항을 제공하며, 관련 스킬(메뉴, 다이얼로그, 검색)과 연계하여 포괄적인 UI 설계를 지원합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/COTA-App/LandingPage/tree/HEAD/.claude/skills/hig-components-controls

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Apple HIG: 선택 및 입력 컨트롤

질문 전에 .claude/apple-design-context.md 파일이 있는지 확인하세요. 기존 컨텍스트를 활용하고, 아직 다루지 않은 정보만 요청하세요.

핵심 원칙

  1. 현재 상태를 명확히 표시. 사용자는 항상 무엇이 선택되었는지 볼 수 있어야 합니다. 토글은 켜기/끄기 상태를 보여주고, 세그먼트 컨트롤은 활성 세그먼트를 강조하며, 피커는 현재 선택을 표시합니다.

  2. 표준 시스템 컨트롤을 우선 사용. 기본 제공 컨트롤은 일관성과 접근성을 제공합니다. 커스텀 컨트롤은 학습 곡선을 만들고 보조 기능을 망가뜨릴 수 있습니다.

  3. 이진 상태에는 토글 사용. 켜기 또는 끄기. 설정 스타일 화면에서는 변경 사항이 즉시 적용됩니다. 모달 폼에서는 확인 시 변경 사항이 적용됩니다.

  4. 상호 배타적 옵션에는 세그먼트 컨트롤 사용. 2-5개 항목, 대략 동등한 중요도, 짧은 레이블.

  5. 연속 값에는 슬라이더 사용. 정확한 숫자 입력이 중요하지 않을 때. 범위 끝점에 최소/최대 레이블이나 아이콘을 제공하세요.

  6. 긴 옵션 목록에는 피커 사용. 세그먼트 컨트롤에 너무 많은 옵션. 날짜, 시간, 구조화된 데이터에 적합합니다.

  7. 작고 정밀한 조정에는 스테퍼 사용. 고정된 단계로 증가/감소. 현재 값을 스테퍼 옆에 표시하고 합리적인 최소/최대 범위를 설정하세요.

  8. 짧고 한 줄 입력에는 텍스트 필드 사용. 여러 줄 입력에는 텍스트 뷰. 예상 입력(이메일, URL, 숫자)에 맞게 키보드 타입을 구성하세요.

  9. 콤보 박스: 텍스트 입력 + 선택 목록. macOS. 값을 입력하거나 미리 정의된 목록에서 선택(커스텀 값도 유효).

  10. 토큰 필드: 개별 값을 시각적 토큰으로 표시. macOS. 이메일 수신자, 태그, 또는 개별 항목 모음에 사용.

  11. 게이지와 평점 표시기는 값을 표시. 게이지는 범위 내 값을 표시. 평점 표시기는 평점(보통 별)을 표시. 표시 전용이며, 입력용 인터랙티브 변형을 사용하세요.

참조 인덱스

참조주제핵심 내용
controls.md일반 컨트롤상태, 어포던스, 시스템 컨트롤
toggles.md토글켜기/끄기, 즉시 효과
segmented-controls.md세그먼트 컨트롤2-5개 옵션, 동등한 가중치
sliders.md슬라이더연속 범위, 최소/최대 레이블
steppers.md스테퍼고정 단계, 범위 제한 값
pickers.md피커날짜, 시간, 긴 옵션 세트
combo-boxes.md콤보 박스macOS, 입력 또는 선택, 커스텀 값
text-fields.md텍스트 필드짧은 입력, 키보드 타입, 유효성 검사
text-views.md텍스트 뷰여러 줄, 댓글, 설명
labels.md레이블배치, VoiceOver 지원
token-fields.md토큰 필드macOS, 칩, 태그, 수신자
virtual-keyboards.md가상 키보드이메일, URL, 숫자 키보드 타입
rating-indicators.md평점 표시기별 평점, 표시 전용
gauges.md게이지수준 표시기, 범위 표시

출력 형식

  1. 컨트롤 추천 및 근거와 대안이 덜 적합한 이유.
  2. 상태 관리 -- 컨트롤이 현재 상태를 어떻게 전달하는지, 변경 사항이 즉시 적용되는지 확인 시 적용되는지.
  3. 유효성 검사 접근 방식 -- 오류를 표시할 시점과 규칙을 전달하는 방법.
  4. 접근성 -- VoiceOver용 레이블, 특성, 힌트.

질문할 사항

  1. 데이터 유형은 무엇인가요? (부울, 고정 세트 선택, 숫자, 자유 형식 텍스트?)
  2. 옵션은 몇 개인가요?
  3. 대상 플랫폼은 무엇인가요? (콤보 박스와 토큰 필드는 macOS 전용)
  4. 설정 화면인가요, 인라인 폼인가요?

관련 스킬

  • hig-components-menus -- 선택 컨트롤을 보완하는 버튼 및 팝업 버튼
  • hig-components-dialogs -- 폼을 포함하는 시트 및 팝오버
  • hig-components-search -- 텍스트 입력 패턴을 공유하는 검색 필드
  • hig-inputs -- 컨트롤과의 키보드, 포인터, 제스처 상호작용
  • hig-foundations -- 컨트롤 스타일링을 위한 타이포그래피, 색상, 레이아웃

Raintree Technology 제작 · 더 많은 개발자 도구

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

COTA-App/LandingPage

>- Apple Human Interface Guidelines for content display components. Use this skill when the user asks about "charts component", "collection view", "image view", "web view", "color well", "image well", "activity view", "lockup", "data visualization", "content display", displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says "how should I display charts", "what's the best way to show images", "should I use a web view", "how do I build a grid of items", "what component shows media", or "how do I present a share sheet". Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.

COTA-App/LandingPage

>- Apple Human Interface Guidelines for layout and navigation components. Use this skill when the user asks about "sidebar", "split view", "tab bar", "tab view", "scroll view", "window design", "panel", "list view", "table view", "column view", "outline view", "navigation structure", "app layout", "boxes", "ornaments", or organizing content hierarchically in Apple apps. Also use when the user says "how should I organize my app", "what navigation pattern should I use", "my layout breaks on iPad", "how do I build a sidebar", "should I use tabs or a sidebar", or "my app doesn't adapt to different screen sizes". Cross-references: hig-foundations for layout/spacing principles, hig-platforms for platform-specific navigation, hig-patterns for multitasking and full-screen, hig-components-content for content display.

COTA-App/LandingPage

>- Apple Human Interface Guidelines design foundations. Use this skill when the user asks about "HIG color", "Apple typography", "SF Symbols", "dark mode guidelines", "accessible design", "Apple design foundations", "app icon", "layout guidelines", "materials", "motion", "privacy", "right to left", "RTL", "inclusive design", branding, images, spatial layout, or writing style. Also use when the user says "my colors look wrong in dark mode", "what font should I use", "is my app accessible enough", "how do I support Dynamic Type", "what contrast ratio do I need", "how do I pick system colors", or "my icons don't match the system style". Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction patterns, hig-components-layout for structural components, hig-components-content for display.

COTA-App/LandingPage

>- Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about "onboarding flow", "user onboarding", "app launch", "loading state", "drag and drop", "search pattern", "settings design", "notifications", "modality", "multitasking", "feedback pattern", "haptics", "undo redo", "file management", data entry, sharing, collaboration, full screen, audio, video, haptic feedback, ratings, printing, help, or account management in Apple apps. Also use when the user says "how should onboarding work", "my app takes too long to load", "should I use a modal here", "how do I handle errors", "when should I ask for permissions", "how to show progress", or "what's the right way to confirm a delete". Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics, hig-components-layout for navigation, hig-components-content for data display.

관련 스킬