Logo strip marquee — Trust and logos block
Protrust-logo-strip-marquee · for home, landing, about pages
Logo strip marquee
Eight logos or more passing in a row, paused on hover, on focus and by its button: a landing showcase; the merchant’s own only.
Documentation
Installation
One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).
pnpm dlx shadcn-vue@latest add @trame/trust-logo-strip-marqueeUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import TrustLogoStripMarquee from '@/components/trame/blocks/trust/trust-logo-strip-marquee.vue'
const props = {
label: "Sold by our stockists",
items: [
{
name: "Atelier Lumen"
},
{
name: "Fieldhouse Goods"
}
]
}
</script>
<template>
<TrustLogoStripMarquee v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| label | string | Wordsa few words naming them ("They trust us", "Sold at", "They talk about us") |
| heading | string | Wordsa heading, where the variant has room for one |
| items* | Item[] | the items shown, in order |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Item items[] · 5 props
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsthe customer, stockist or publication, as it is called: shown in text when there is no logo file |
| logo | string | Picturethe logo file the merchant gives (SVG or transparent PNG): never one drawn or found by the block |
| href | string | Actionthe page that tells more (a case, a stockist page) |
| url | string | Designan address outside the app (the article, the stockist’s site) |
| result | string | Wordswith-results: one line of the real result for this customer |
Options options · 3 props
| Prop | Type | Description |
|---|---|---|
| grayscale | boolean | grey the logos at rest, in colour on hover or focus (on by default) |
| mono | boolean | draw each logo with the text colour through a mask, so it follows the theme (needs the file on the same origin; on in band) |
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a band of the page that redefines the theme surfaces inside it |
What it asks your app for
The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| asset | a picture’s address as your app serves it |
| Link | your router’s link component |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your word for an interface key, or undefined to keep the block’s own |
The words it says itself, in English and French; label(key) replaces any of them:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too many attempts, try again in a moment. | Trop de tentatives, réessayez dans un moment. |
Features
- Every word in the server HTML
- Same markup in Vue and React
- Theme tokens only: every theme, light and dark
- Shows what you give it, invents nothing
- Subtle motion: one short reveal; still under reduced motion
- Real buttons and links, a visible focus
- Asks your app through actions:
items[].href
A trust and logos section, for home, landing, about pages; it uses @vueuse/core, clsx, motion, tailwind-merge.
More trust and logos blocks
- Enterprise trust capability grid: icon cards that say how identity, audit, residency or roles work rather than "yes": a technical reviewer.
- Enterprise trust certification grid: certifications and attestations as cards, each with a status that is always written out: a buyer who asks for proof.
- Enterprise trust deployment cards: two or three ways to run the product, each with its points and its honest trade-off: a choice of hosting.
- Enterprise trust document checklist: a ruled list of documents ready to download beside the title: a procurement file.
- Logos band: a band in the inverse or brand mood: a one-line claim over a row of logos; the merchant’s own only.
- Logos dense wall: bordered cells in a quiet wall, for many names (nine and more); the merchant’s own only.
- Logos grid heading: a heading and a sentence at the left, the logos as tiles at the right: customers worth a title; the merchant’s own only.
- Logos lead partner: the first name told large beside the heading, the others as a quieter row below: one anchor customer or stockist the merchant puts first; the merchant’s own only.