고객 후기는 고객이 한 말을 고객의 이름과 함께 보여 줍니다. 이 블록은 인용문을 사용합니다. 한 사람의 말이 페이지의 중심이라면 인용문 하나를 크게 배치하고, 여러 사람의 말을 소개한다면 인용문을 나란히 배치합니다.
고객 후기
<section class="container-inline px-lg py-4xl" aria-label="What customers say"> <figure class="quote quote-lg max-w(720) mx-auto"> <blockquote class="quote-body"> <p class="quote-text"> We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure></section><section className="container-inline px-lg py-4xl" aria-label="What customers say"> <figure className="quote quote-lg max-w(720) mx-auto"> <blockquote className="quote-body"> <p className="quote-text"> We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now. </p> </blockquote> <figcaption className="quote-source"> <span className="avatar"> <img className="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256" /> </span> <span><span className="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure></section><section class="container-inline px-lg py-4xl" aria-label="What customers say"> <figure class="quote quote-lg max-w(720) mx-auto"> <blockquote class="quote-body"> <p class="quote-text"> We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure></section><template> <section class="container-inline px-lg py-4xl" aria-label="What customers say"> <figure class="quote quote-lg max-w(720) mx-auto"> <blockquote class="quote-body"> <p class="quote-text"> We moved forty services to Atlas in a quarter and stopped keeping a deploy calendar. Friday is an ordinary day now. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure> </section></template>블록은 복사해 사용하는 마크업입니다. 페이지의 텍스트 색상과 크기를 따르며, 미리보기에서는 body에 fg-text-body text-sm 클래스를 설정합니다. 각 블록은 크기 컨테이너이므로 자체 너비에 맞춰 배치가 바뀝니다.
#구성 요소
- 너비를 제한한
quote quote-lg. 강조 인용문은 여는 따옴표를 자동으로 표시하고 각 줄의 길이를 고르게 맞춥니다.max-w(720) mx-auto로 인용문 열의 최대 너비를 제한하고 가운데에 배치합니다. - 인용한 사람의 정보. 얼굴 사진과 본문 글자색으로 표시한 이름, 직책과 회사명을 넣습니다. 익명 인용문은 설득력이 떨어집니다.
- 후기만 표시. 별점, 로고, 캐러셀은 넣지 않습니다. 방문자가 기다려 주지 않는 캐러셀 속 다섯 문장보다 인상적인 한 문장이 더 효과적입니다.
#여러 고객 후기
트레이 안의 시트에 인용문 세 개를 배치합니다. 블록 너비가 56rem 미만이면 한 열로, 56rem 이상이면 세 열로 표시합니다. 각 카드는 flex 박스이므로 인용문 영역이 늘어나도 같은 행에 있는 카드의 인용 출처가 같은 높이에 놓입니다.
여러 고객 후기
<section class="container-inline px-lg py-4xl" aria-labelledby="quotes-title"> <div class="flex flex-col gap-xl max-w(1040) mx-auto"> <header class="flex flex-col gap-sm max-w(560)"> <p class="eyebrow">Customers</p> <h2 class="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2> </header> <ul class="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)"> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Misaki Sato</span>Design lead, Northwind</span> </figcaption> </figure> </li> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span> </figcaption> </figure> </li> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure> </li> </ul> </div></section><section className="container-inline px-lg py-4xl" aria-labelledby="quotes-title"> <div className="flex flex-col gap-xl max-w(1040) mx-auto"> <header className="flex flex-col gap-sm max-w(560)"> <p className="eyebrow">Customers</p> <h2 className="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2> </header> <ul className="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)"> <li className="sheet sheet-raised flex p-lg"> <figure className="quote grow(1)"> <blockquote className="quote-body"> <p className="quote-text"> Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look. </p> </blockquote> <figcaption className="quote-source"> <span className="avatar avatar-sm"> <img className="avatar-image" src="/demo/people/misaki-sato.webp" alt="" width="256" height="256" /> </span> <span><span className="quote-name">Misaki Sato</span>Design lead, Northwind</span> </figcaption> </figure> </li> <li className="sheet sheet-raised flex p-lg"> <figure className="quote grow(1)"> <blockquote className="quote-body"> <p className="quote-text"> Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing. </p> </blockquote> <figcaption className="quote-source"> <span className="avatar avatar-sm"> <img className="avatar-image" src="/demo/people/pohan-chen.webp" alt="" width="256" height="256" /> </span> <span><span className="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span> </figcaption> </figure> </li> <li className="sheet sheet-raised flex p-lg"> <figure className="quote grow(1)"> <blockquote className="quote-body"> <p className="quote-text"> Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why. </p> </blockquote> <figcaption className="quote-source"> <span className="avatar avatar-sm"> <img className="avatar-image" src="/demo/people/seoyeon-kim.webp" alt="" width="256" height="256" /> </span> <span><span className="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure> </li> </ul> </div></section><section class="container-inline px-lg py-4xl" aria-labelledby="quotes-title"> <div class="flex flex-col gap-xl max-w(1040) mx-auto"> <header class="flex flex-col gap-sm max-w(560)"> <p class="eyebrow">Customers</p> <h2 class="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2> </header> <ul class="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)"> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Misaki Sato</span>Design lead, Northwind</span> </figcaption> </figure> </li> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span> </figcaption> </figure> </li> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure> </li> </ul> </div></section><template> <section class="container-inline px-lg py-4xl" aria-labelledby="quotes-title"> <div class="flex flex-col gap-xl max-w(1040) mx-auto"> <header class="flex flex-col gap-sm max-w(560)"> <p class="eyebrow">Customers</p> <h2 class="heading heading-2xl" id="quotes-title">Teams that ship with Atlas.</h2> </header> <ul class="tray grid gap(4) m(0) grid-cols(3)@container(--4xl)"> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Previews changed how we review. Nobody argues about a screenshot any more; they click the link and look. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/misaki-sato.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Misaki Sato</span>Design lead, Northwind</span> </figcaption> </figure> </li> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Cold builds went from a minute and a half to under a minute the week we moved. We changed nothing. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/pohan-chen.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Po-han Chen</span>Staff engineer, Halcyon</span> </figcaption> </figure> </li> <li class="sheet sheet-raised flex p-lg"> <figure class="quote grow(1)"> <blockquote class="quote-body"> <p class="quote-text"> Rolling back used to be a meeting. Now it is a button, and it takes less time than explaining why. </p> </blockquote> <figcaption class="quote-source"> <span class="avatar avatar-sm"> <img class="avatar-image" src="/demo/people/seoyeon-kim.webp" alt width="256" height="256"> </span> <span><span class="quote-name">Seo-yeon Kim</span>Engineering lead, Orbit</span> </figcaption> </figure> </li> </ul> </div> </section></template>인용문은 길이 차이가 한두 줄 이내가 되도록 맞춥니다. 카드 하단이 들쭉날쭉하면 전체 배치가 정돈되지 않아 보입니다.
#접근성
- 각 후기는
<figure>입니다. 인용한 말은quote-body를 지정한<blockquote>에 넣고, 출처는 인용 내용 밖, 그 뒤의<figcaption>에 넣습니다. - 아바타 옆에 같은 사람의 이름이 표시되므로 아바타의
alt는 비워 둡니다. - 당사자의 허락을 받아 실제로 한 말을 인용하고, 출처가 공개되어 있다면 링크를 추가하세요.