Cascader
캐스케이더
캐스케이더는 한 번에 한 단계씩 선택지를 보여줘요. 하나를 고르면 그에 맞는 다음 목록이 열려요.
실제 예시
배송 양식은 국가, 지역, 도시를 물어봐. 하나를 고를 때마다 다음 선택지가 좁혀져.
주요 부분
- 01트리거
- 02레벨 열
- 03선택된 경로
사용할 때
선택이 안정적인 트리를 형성하고 각 수준마다 명확한 경로가 있을 때 사용하세요.
다음 경우에는 사용하지 마세요
짧은 목록, 다른 브랜치 검색, 또는 추가 문맥이 필요한 라벨에서는 피하세요.
코드에서 사용된 이름
tree path + dependent option columns 출시하기 전에
Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages.
Outcome:Complete the task with 캐스케이더 (Cascader)。 User context:배송 양식은 국가, 지역, 도시를 물어봐. 하나를 고를 때마다 다음 선택지가 좁혀져. Recommended pattern:캐스케이더 (Cascader)。 Why it fits:선택이 안정적인 트리를 형성하고 각 수준마다 명확한 경로가 있을 때 사용하세요. Do not use it when:짧은 목록, 다른 브랜치 검색, 또는 추가 문맥이 필요한 라벨에서는 피하세요. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary):이것은 규범적인 표준이 아닙니다. 이름, 한계 및 예상 동작은 출처마다 달라질 수 있습니다. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
이 요청을 확인하세요
Review how 캐스케이더 (Cascader) is used now. Definition: 캐스케이더는 한 번에 한 단계씩 선택지를 보여줘요. 하나를 고르면 그에 맞는 다음 목록이 열려요. Release checks: Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.