Scrim
스크림
Scrim은 팝업 창 뒤에 깔리는 살짝 투명한 어두운 층이야. 팝업 창을 돋보이게 하고 아래 페이지를 못 쓰게 막아놨다는 걸 보여주지.
::backdrop실제 예시
모달이 열리면, 스크림이 페이지를 어둡게 하여 대화 상자가 눈에 잘 띄게 합니다.
주요 부분
- 01Trigger or task context
- 02Primary control surface
- 03Feedback, focus, and dismissal
사용할 때
페이지를 차단해야 할 때 모달, 시트, 내비게이션 드로어 뒤에서 사용하세요.
다음 경우에는 사용하지 마세요
스크림(scrim)만 믿지 마세요. 키보드 포커스와 모달 동작도 관리해야 합니다.
코드에서 사용된 이름
::backdrop 출시하기 전에
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome:Complete the task with 스크림 (Scrim)。 User context:모달이 열리면, 스크림이 페이지를 어둡게 하여 대화 상자가 눈에 잘 띄게 합니다. Recommended pattern:스크림 (Scrim)。 Why it fits:페이지를 차단해야 할 때 모달, 시트, 내비게이션 드로어 뒤에서 사용하세요. Do not use it when:스크림(scrim)만 믿지 마세요. 키보드 포커스와 모달 동작도 관리해야 합니다. 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 스크림 (Scrim) is used now. Definition: Scrim은 팝업 창 뒤에 깔리는 살짝 투명한 어두운 층이야. 팝업 창을 돋보이게 하고 아래 페이지를 못 쓰게 막아놨다는 걸 보여주지. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.