Logo cloud
A row of customer logos under a short line of social proof, wrapping on small screens.
Installation
bash
npx bootcn add logo-cloudbash
pnpm dlx bootcn add logo-cloudbash
yarn dlx bootcn add logo-cloudbash
bunx --bun bootcn add logo-cloudThe CLI also installs the design tokens and these blocks and components: none. It prints the <link> and <script> tags to add to your layout.
Usage
Replace each item with your customers' logos: an <img> with the company name as alt (or an inline SVG with role="img" and aria-label). Keep them one color (the muted foreground) so no logo shouts louder than the others.
Accessibility
- A section named by its heading; the logos are a list, and each company name is text (or the image's
alt), not only a picture.
Dependencies
- Bootstrap 5.3+ CSS.
themes/tokens/tokens.css.
Source
The exact files the CLI installs (logo-cloud@1.0.0). View on GitHub · Report an issue
html
<section class="bootcn-logo-cloud" aria-labelledby="bootcn-logo-cloud-title">
<div class="bootcn-logo-cloud__inner">
<h2 class="bootcn-logo-cloud__title" id="bootcn-logo-cloud-title">
Trusted by product teams at
</h2>
<ul class="bootcn-logo-cloud__list">
<li class="bootcn-logo-cloud__logo">
<svg
class="bootcn-logo-cloud__mark"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<path d="M12 2 21 7v10l-9 5-9-5V7z" />
</svg>
<span>Northwind</span>
</li>
<li class="bootcn-logo-cloud__logo">
<svg
class="bootcn-logo-cloud__mark"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<circle cx="12" cy="12" r="9" />
</svg>
<span>Contoso</span>
</li>
<li class="bootcn-logo-cloud__logo">
<svg
class="bootcn-logo-cloud__mark"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<path d="M12 3 22 20H2z" />
</svg>
<span>Fabrikam</span>
</li>
<li class="bootcn-logo-cloud__logo">
<svg
class="bootcn-logo-cloud__mark"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<path d="M2 12c3-6 6-6 10 0s7 6 10 0" />
</svg>
<span>Tailspin</span>
</li>
<li class="bootcn-logo-cloud__logo">
<svg
class="bootcn-logo-cloud__mark"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<path d="M12 2 22 12 12 22 2 12z" />
</svg>
<span>Litware</span>
</li>
<li class="bootcn-logo-cloud__logo">
<svg
class="bootcn-logo-cloud__mark"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
focusable="false"
>
<rect x="4" y="4" width="16" height="16" rx="3" />
</svg>
<span>Proseware</span>
</li>
</ul>
</div>
</section>css
.bootcn-logo-cloud {
padding-block: 3rem;
}
.bootcn-logo-cloud__inner {
max-width: 72rem;
margin-inline: auto;
padding-inline: 1rem;
}
.bootcn-logo-cloud__title {
margin: 0 0 1.5rem;
color: var(--bootcn-muted-foreground);
font-size: 0.875rem;
font-weight: 500;
text-align: center;
}
.bootcn-logo-cloud__list {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 1.5rem 2.5rem;
margin: 0;
padding: 0;
list-style: none;
}
.bootcn-logo-cloud__logo {
display: inline-flex;
align-items: center;
gap: 0.5rem;
color: var(--bootcn-muted-foreground);
font-size: 1.125rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.bootcn-logo-cloud__mark {
width: 1.5rem;
height: 1.5rem;
}
