Components
Trust Bar
A logo cloud band for customer and investor logos.
Installation
$ npx veil-ui@latest add trust-barUsage
import { TrustBar } from "@/components/ui/trust-bar";
<TrustBar
items={[{ name: "Acme" }, { name: "Globex" }, { name: "Initech" }]}
/>;Examples
Basic
Trusted by teams at
- Acme
- Globex
- Initech
- Umbrella
Compact
Backed by founders from
- Northwind
- Contoso
- Fabrikam
API reference
The package exports trust-bar along with its composable parts. It forwards standard attributes to its root element; see the examples above for the component-specific props.
Accessibility
- Pages keep a single
h1in the hero and useh2/h3for section hierarchy. - Call-to-action elements are real links or buttons with discernible labels.
- Decorative icons are
aria-hiddenand meaningful images requirealttext.
Vue and plain HTML
This component also ships for Vue (Reka UI) and plain HTML. Install it with npx veil-ui add trust-bar --framework vue or switch the framework in components.json.
<template>
<div data-slot="trust-bar" class="flex flex-col items-center gap-6 border-y bg-muted/20 px-6 py-10 text-center w-full max-w-4xl rounded-xl"><p class="text-xs font-medium uppercase tracking-wider text-muted-foreground">Trusted by teams at</p><ul data-slot="logo-cloud" class="grid list-none items-center justify-items-center gap-6 grid-cols-2 sm:grid-cols-4 w-full max-w-4xl"><li data-slot="logo-cloud-item"><span class="text-sm font-semibold text-muted-foreground">Acme</span></li><li data-slot="logo-cloud-item"><span class="text-sm font-semibold text-muted-foreground">Globex</span></li><li data-slot="logo-cloud-item"><span class="text-sm font-semibold text-muted-foreground">Initech</span></li><li data-slot="logo-cloud-item"><span class="text-sm font-semibold text-muted-foreground">Umbrella</span></li></ul></div>
</template>