02고객사 로고 트러스트 바
로고 줄이 margin 간격으로 끊김 없이 계속 흐르고, 버튼을 누르면 aria-pressed 가 바뀌며 실제로 멈추고 다시 흐릅니다.
쓰임히어로 아래 고객사·파트너 신뢰 바, 랜딩 페이지 소셜 프루프
translateX(-50%)margin-rightaria-pressed

<main class="stage">
<section class="lc">
<p class="lc__label">
<span class="lc__badge" aria-hidden="true"><svg viewBox="0 0 256 256" width="16" height="16"><g fill="currentColor"><path d="M232 128c0 12.51-17.82 21.95-22.68 33.69c-4.68 11.32 1.42 30.65-7.78 39.85s-28.53 3.1-39.85 7.78C150 214.18 140.5 232 128 232s-22-17.82-33.69-22.68c-11.32-4.68-30.65 1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82 150 24 140.5 24 128s17.82-22 22.68-33.69c4.68-11.31-1.42-30.65 7.78-39.85s28.54-3.1 39.85-7.78C106.05 41.82 115.5 24 128 24s22 17.82 33.69 22.68c11.32 4.68 30.65-1.42 39.85 7.78s3.1 28.53 7.78 39.85C214.18 106.05 232 115.5 232 128" opacity=".2"/><path d="m165.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L104 148.69l50.34-50.35a8 8 0 0 1 11.32 0"/></g></svg></span>
500개 넘는 팀이 이미 쓰고 있어요
</p>
<button type="button" class="lc__toggle" aria-pressed="false">일시정지</button>
<div class="lc__viewport">
<ul class="lc__track" aria-hidden="true">
<li>NORTHWARD</li><li>ORBITAL</li><li>VESTA LABS</li><li>KAIROS</li><li>ATLAS CO</li><li>LUMEN</li>
<li>NORTHWARD</li><li>ORBITAL</li><li>VESTA LABS</li><li>KAIROS</li><li>ATLAS CO</li><li>LUMEN</li>
</ul>
</div>
<p class="sr-only">함께하는 회사: Northward, Orbital, Vesta Labs, Kairos, Atlas Co, Lumen</p>
</section>
</main>@use "../../../../site/static/demo-tokens" as *;
// ── 변수 3개 ──────────────────────────────────────────
$duration: 9s;
$easing: linear;
$color: $subject-ink;
@include stage($stage-paper);
.lc { width: min(420px, 94vw); text-align: center; }
.lc__label {
display: flex; align-items: center; justify-content: center; gap: $sp-1;
margin: 0 0 $sp-2; font-weight: 700; font-size: 12px; line-height: 1.3; font-family: inherit;
color: $subject-ink;
}
.lc__badge { display: grid; place-items: center; color: #50a26e; flex: 0 0 auto; }
.lc__toggle {
display: inline-block; margin: 0 0 $sp-4;
padding: $sp-2 $sp-3;
border: 1px solid rgba(23, 20, 26, .18);
border-radius: $r-pill;
background: $stage-paper;
color: $subject-ink;
font-weight: 700; font-size: 11px; line-height: 1;
cursor: pointer;
}
.lc__toggle[aria-pressed="true"] { background: $subject-ink; color: $stage-paper; border-color: $subject-ink; }
.lc__viewport { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
// 무한 루프 트랙 — flex gap 대신 margin-right (BD15). 12개(6종×2) 중 -50% 는 정확히 앞 6개 끝.
.lc__track {
display: flex; list-style: none; margin: 0; padding: 0;
width: max-content;
animation: lc-scroll $duration $easing infinite;
}
.lc__track li {
flex: 0 0 auto;
margin-right: $sp-6;
padding: $sp-2 $sp-4;
border: 1px solid rgba(23, 20, 26, .12);
border-radius: $r-sm;
background: rgba(23, 20, 26, .04);
color: rgba(23, 20, 26, .72);
font-weight: 800; font-size: 11px; letter-spacing: .04em; font-family: inherit;
white-space: nowrap;
}
@keyframes lc-scroll {
from { transform: translateX(0); }
to { transform: translateX(-50%); }
}
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
// ── 접근성 ──────────────────────────────────────────
@media (prefers-reduced-motion: reduce) {
.lc__track { animation: none !important; }
}
// ── 반응형(320px) ────────────────────────────────────
@media (max-width: 340px), (max-height: 220px) {
.lc__track li { margin-right: $sp-4; padding: $sp-1 $sp-3; }
}html, body {
margin: 0;
overflow: hidden;
}
.stage {
box-sizing: border-box;
min-height: 100vh;
display: grid;
place-items: center;
margin: 0;
background: #ffffff;
font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
padding: clamp(8px, 4vw, 24px);
}
.lc {
width: min(420px, 94vw);
text-align: center;
}
.lc__label {
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
margin: 0 0 8px;
font-weight: 700;
font-size: 12px;
line-height: 1.3;
font-family: inherit;
color: #17141a;
}
.lc__badge {
display: grid;
place-items: center;
color: #50a26e;
flex: 0 0 auto;
}
.lc__toggle {
display: inline-block;
margin: 0 0 16px;
padding: 8px 12px;
border: 1px solid rgba(23, 20, 26, 0.18);
border-radius: 999px;
background: #ffffff;
color: #17141a;
font-weight: 700;
font-size: 11px;
line-height: 1;
cursor: pointer;
}
.lc__toggle[aria-pressed=true] {
background: #17141a;
color: #ffffff;
border-color: #17141a;
}
.lc__viewport {
overflow: hidden;
width: 100%;
-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.lc__track {
display: flex;
list-style: none;
margin: 0;
padding: 0;
width: max-content;
animation: lc-scroll 9s linear infinite;
}
.lc__track li {
flex: 0 0 auto;
margin-right: 24px;
padding: 8px 16px;
border: 1px solid rgba(23, 20, 26, 0.12);
border-radius: 8px;
background: rgba(23, 20, 26, 0.04);
color: rgba(23, 20, 26, 0.72);
font-weight: 800;
font-size: 11px;
letter-spacing: 0.04em;
font-family: inherit;
white-space: nowrap;
}
@keyframes lc-scroll {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
@media (prefers-reduced-motion: reduce) {
.lc__track {
animation: none !important;
}
}
@media (max-width: 340px), (max-height: 220px) {
.lc__track li {
margin-right: 16px;
padding: 4px 12px;
}
}// 실제 동작: 버튼을 누르면 aria-pressed 가 바뀌며 흐르는 로고 줄이 실제로 멈추고 다시 누르면 이어서 흐른다.
var track = document.querySelector('.lc__track');
var btn = document.querySelector('.lc__toggle');
btn.addEventListener('click', function () {
var paused = btn.getAttribute('aria-pressed') === 'true';
btn.setAttribute('aria-pressed', String(!paused));
btn.textContent = paused ? '일시정지' : '재생';
track.style.animationPlayState = paused ? 'running' : 'paused';
});import { useState } from "react";
import type { CSSProperties } from "react";
import styles from "./LogoCloud.module.scss";
export type LogoCloudProps = { duration?: number; easing?: string; color?: string; names?: string[] };
type Vars = CSSProperties & { "--duration"?: string; "--easing"?: string; "--color"?: string };
const DEFAULT_NAMES = ["NORTHWARD", "ORBITAL", "VESTA LABS", "KAIROS", "ATLAS CO", "LUMEN"];
export default function LogoCloud({ duration = 9000, easing = "linear", color = "#17141a", names = DEFAULT_NAMES }: LogoCloudProps) {
const [paused, setPaused] = useState(false);
const vars: Vars = { "--duration": `${duration}ms`, "--easing": easing, "--color": color };
const track = [...names, ...names];
return (
<section className={styles.lc} style={vars}>
<p className={styles.label}>
<span className={styles.badge} aria-hidden="true">
<svg viewBox="0 0 256 256" width="16" height="16">
<g fill="currentColor">
<path d="M232 128c0 12.51-17.82 21.95-22.68 33.69c-4.68 11.32 1.42 30.65-7.78 39.85s-28.53 3.1-39.85 7.78C150 214.18 140.5 232 128 232s-22-17.82-33.69-22.68c-11.32-4.68-30.65 1.42-39.85-7.78s-3.1-28.53-7.78-39.85C41.82 150 24 140.5 24 128s17.82-22 22.68-33.69c4.68-11.31-1.42-30.65 7.78-39.85s28.54-3.1 39.85-7.78C106.05 41.82 115.5 24 128 24s22 17.82 33.69 22.68c11.32 4.68 30.65-1.42 39.85 7.78s3.1 28.53 7.78 39.85C214.18 106.05 232 115.5 232 128" opacity=".2" />
<path d="m165.66 98.34a8 8 0 0 1 0 11.32l-56 56a8 8 0 0 1-11.32 0l-24-24a8 8 0 0 1 11.32-11.32L104 148.69l50.34-50.35a8 8 0 0 1 11.32 0" />
</g>
</svg>
</span>
500개 넘는 팀이 이미 쓰고 있어요
</p>
<button type="button" className={styles.toggle} aria-pressed={paused} onClick={() => setPaused((p) => !p)}>
{paused ? "재생" : "일시정지"}
</button>
<div className={styles.viewport}>
<ul className={styles.track} aria-hidden="true" data-paused={paused}>
{track.map((n, i) => <li key={i}>{n}</li>)}
</ul>
</div>
<p className={styles.srOnly}>함께하는 회사: {names.join(", ")}</p>
</section>
);
}02 고객사 로고 트러스트 바 — 측정 누적면적 5.088% · 움직인 프레임 23/23GODRICH 원작 · zip 에 SCSS·React 포함 · 믿음 가는 랜딩 페이지 섹션 템플릿 9종
이 데모가 속한 글
믿음 가는 랜딩 페이지 섹션 템플릿 9종랜딩 페이지 섹션 템플릿은 통계·로고 바·비교표부터 문의 폼까지, 랜딩 페이지 여기저기 흩어져 있던 신뢰 요소를 한 번에 붙일 수 있게 모은 코드 모음입니다. 랜딩 페이지에 바로 붙이는 아홉 개 중 하나는 숫자가 실 이 글의 데모 전부 보기


