Activity stream ticker list — Testimonials block
Protestimonials-activity-stream-ticker-list · for home, landing pages
Activity stream ticker list
The words above a framed panel like an app’s feed, the events as rows with their time at the end, the newest marked: for a SaaS or booking product whose activity reads best as a list (the merchant’s own events only, never looped)
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/testimonials-activity-stream-ticker-listUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import TestimonialsActivityStreamTickerList from '@/components/trame/blocks/testimonials/testimonials-activity-stream-ticker-list.vue'
const props = {
eyebrow: "Right now at the studio",
title: "Fresh from the kiln, and already on its way",
intro: "Every order is packed by hand in our Portland studio. Here is what has been happening there today.",
events: [
{
id: "e-2041",
text: "Order #2041 shipped to Portland",
about: "Two speckled mugs and a pour-over set",
kind: "order",
amount: 8600,
at: "2026-10-29T14:56:00.000Z"
},
{
id: "e-r18",
text: "left a five-star review on the Tidewater bowl",
actor: "Dana R.",
kind: "message",
tag: "Review",
at: "2026-10-29T14:41:00.000Z"
}
],
action: {
label: "Shop the new pieces",
action: "catalog"
},
note: "Our own orders and reviews, updated every hour.",
options: {
asOf: "2026-10-29T15:00:00Z"
}
}
</script>
<template>
<TestimonialsActivityStreamTickerList v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| eyebrow | string | Wordsa short line above the title ("Right now at the studio") |
| title* | string | Wordswhat the stream proves, in a sentence: the section’s h2 |
| intro | string | Wordsone or two sentences under the title |
| events* | Event[] | Datathe merchant’s own recent events, newest first: 1 to 12, as the host read them; a new one arrives only when the host passes new events, never on a timer |
| action | Action | the call to action under the stream: its words and the page action |
| note | string | Wordsa line under the events, in the merchant’s own words ("Live from our store, updated hourly") |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Event events[] · 9 props
| Prop | Type | Description |
|---|---|---|
| id* | string | number | Datathe notification’s id in the tool that answers it |
| text* | string | Wordsthe sentence, as the app wrote it ("Nadia replied to your review") |
| actor | string | Wordswho triggered it, when the text does not name them |
| avatar | string | Picturea picture: a root-relative path (/media/…) or an absolute URL |
| about | string | Wordsthe record it concerns ("Order 2041"); the digest groups by it |
| kind | 'mention' | 'order' | 'message' | 'payment' | 'stock' | 'system' | what the notification is about; it picks the icon |
| at* | string | Datawhen it happened, ISO 8601 ("2026-10-29T14:52:00Z"): the block writes it relative ("8 min ago") in the app’s language |
| amount | number | Dataan amount the event carries, in cents (an order’s total), written with the shop’s currency |
| tag | string | Wordsa short tag beside the event ("Pro plan", "Lyon") |
Action action · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("Try for free") |
| action* | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
Options options · 2 props
| Prop | Type | Description |
|---|---|---|
| asOf | string | Datathe instant the host read the events (ISO 8601): the times are written relative to it, the same on the server and in the browser; when absent each side reads its own clock once per set of events, never on a timer |
| 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 |
| money | formats a price, given in cents |
| 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:
action - Reads
eventsfrom your app
A testimonials section, for home, landing pages; it uses @lucide/vue, class-variance-authority, clsx, motion, reka-ui, tailwind-merge.
Built with
The components this block is made of; each one installs on its own too.
More testimonials blocks
- Connected: three to eight customer stories on a stage, one open with its figure, quote and photo, the next ones as photo slivers welded to it: a landing that walks through its customers one by one.
- Ledger: three to eight quotes read as a register, one row per customer with the author beside the words: a sober page where names matter.
- Logo tabs: three to five customers, each a tab made of their logo or name above one quote at a time: B2B proof by company.
- Marquee: six or more short quotes passing in a row, pausable: a long list of one-line praise on a lively page.
- Masonry: many short quotes without hierarchy in balanced columns, folded to the first few on a phone: a shop with a lot of reviews.
- People bar portraits: the merchant can show who joined or who vouches: their portraits beside the message, in a bar.
- Portraits: two to six customers led by a tall portrait with the quote below: a brand of people and craft, with real photos.
- Pull quote: a single sentence and two figures, centered and bare: a closing proof before an action.