본문으로 바로가기 본문 바로가기
WIKI 기술 지식 베이스

Html

원문 보기 위키 갱신

Progress stepper는 유한한 개수의 이산 단계를 통해 진행 상태를 보여주는 HTML 컴포넌트예요. .pf-m-center, .pf-m-vertical, .pf-m-compact 수식어로 방향·정렬을 바꾸고, 상태·현재·대기 수식어로 단계 색과 표시를 조절할 수 있어요.

출처: 문서

본문

예제 (Examples)

기본 (Basic)

First step

Second step

Third step

설명이 있는 기본 (Basic with descriptions)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

세로·가로 반응형 (Vertical, horizontal responsive)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

설명이 있는 가운데 정렬 (Center aligned with descriptions)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

가운데 정렬, 세로 (Center aligned, vertical)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

설명이 있는 세로 (Vertical with descriptions)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

컴팩트 (Compact)

First step

This is the first thing to happen

In process

This is the second thing to happen

Third step

This is the last thing to happen

컴팩트, 세로 (Compact, vertical)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

컴팩트, 세로 반응형 (Compact, vertical responsive)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

컴팩트, 세로, 가운데 (Compact, vertical, centered)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

컴팩트, 가운데 (Compact, centered)

First step

This is the first thing to happen

Second step

This is the second thing to happen

Third step

This is the last thing to happen

문제가 있는 기본 (Basic with an issue)

First step

Second step

Third step

Fourth step

Fifth step

실패가 있는 기본 (Basic with a failure)

First step

Second step

Third step

Fourth step

Fifth step

진행 중인 기본 (Basic in process)

Successful completion

In process

Pending

도움말 텍스트와 함께 (With help text)

Fourth step

문서 (Documentation)

개요 (Overview)

progress stepper는 유한한 개수의 이산 단계를 통한 진행을 보여주기 위한 거예요.

progress stepper에 수식어 클래스를 추가해 방향이나 정렬을 바꿔요: .pf-m-center, .pf-m-vertical, 또는 .pf-m-compact.

단계는 .pf-m-success, .pf-m-warning, .pf-m-danger, .pf-m-info, .pf-m-custom, .pf-m-in-progress-alt로 색을 바꿀 수 있어요. .pf-m-pending과 .pf-m-current 수식어를 사용해 단계 진행을 나타내요.

접근성 (Accessibility)

속성 (Attribute) 적용 대상 (Applied to) 결과 (Outcome)
aria-label="[State of the step]" .pf-v6-c-progress-stepper__step 단계에 접근 가능한 라벨을 제공해요.
aria-hidden="true" .pf-v6-c-progress-stepper__step-icon 보조 기술에서 아이콘을 숨겨요. 필수예요.

사용법 (Usage)

클래스 (Class) 적용 대상 (Applied to) 결과 (Outcome)
.pf-v6-c-progress-stepper `` 기본 progress stepper 스타일을 적용해요. 필수예요.
.pf-v6-c-progress-stepper__step `` progress stepper의 각 단계를 정의해요. 필수예요.
.progress-stepper__step-connector `` 단계 사이의 연결선을 만들어요. 필수예요.
.progress-stepper__step-icon `` 단계 노드를 만들고 단계 유형을 나타내는 아이콘을 담아요. 이 요소는 필수지만 단계에 아이콘이 없으면 비어 있을 수 있어요. 필수예요.
.progress-stepper__step-main `` 단계의 주요 텍스트 콘텐츠를 담아요. 이 요소는 필수지만 제목과 설명이 없으면 비어 있을 수 있어요. 필수예요.
.progress-stepper__step-title , 단계의 제목을 담아요. 참고: 단계 제목은 .pf-m-help-text가 있으면 ``이며, 도움말 텍스트가 있는 팝오버를 트리거하는 데 쓰여요.
.progress-stepper__step-description `` 단계의 설명을 담아요.
.pf-m-center .pf-v6-c-progress-stepper 각 단계를 가운데 정렬하도록 수정해요.
.pf-m-vertical{-on-[breakpoint]} .pf-v6-c-progress-stepper 선택적 breakpoint에서 progress stepper 세로 레이아웃으로 수정해요.
.pf-m-horizontal{-on-[breakpoint]} .pf-v6-c-progress-stepper 선택적 breakpoint에서 progress stepper 가로 레이아웃으로 수정해요.
.pf-m-compact .pf-v6-c-progress-stepper 컴팩트 스타일로 수정해요.
.pf-m-success .pf-v6-c-progress-stepper__step 성공 스타일로 수정해요.
.pf-m-warning .pf-v6-c-progress-stepper__step 경고 스타일로 수정해요.
.pf-m-danger .pf-v6-c-progress-stepper__step 위험 스타일로 수정해요.
.pf-m-info .pf-v6-c-progress-stepper__step 정보 스타일로 수정해요.
.pf-m-custom .pf-v6-c-progress-stepper__step 커스텀 스타일로 수정해요.
.pf-m-current .pf-v6-c-progress-stepper__step 현재 단계의 스타일로 수정해요.
.pf-m-pending .pf-v6-c-progress-stepper__step 대기 단계의 스타일로 수정해요.
.pf-m-help-text .pf-v6-c-progress-stepper__step-title 도움말 텍스트가 있는 단계의 스타일로 수정해요.

GitHub에서 이 페이지 편집하기

더 알아보기 (Learn more)