Testimonials
blockmarketingTestimonial section set covering the full proof spectrum: a featured pull quote, a logo-and-quote row, a verified masonry grid, social-post cards, a counter-scrolling marquee, a case-study carousel with telemetry KPIs, and an ROI workbench with filters and autoplay.
Installation
$pnpm dlx uipkge-ng@latest add testimonial$npx uipkge-ng@latest add testimonial$yarn dlx uipkge-ng@latest add testimonial$bunx uipkge-ng@latest add testimonialManifest:
https://uipkge.dev/r/angular/testimonial.jsonInstalls to:src/app/components/blocks/testimonial/Variants
Loading interactive previews…
Loading interactive previews…
Schema
Type aliases exported from this item's source. Use these to shape the data you pass in.
LogoQuoteinterface LogoQuote {
wordmark: string
quote: string
author: string
role: string
initials: string
}MarqueeQuoteinterface MarqueeQuote {
quote: string
author: string
role: string
initials: string
}VerifiedTestimonialinterface VerifiedTestimonial {
id: string
name: string
role: string
roleCategory: 'frontend' | 'founder' | 'design-eng'
company: string
avatar: string
handle: string
verifiedSource: 'Twitter' | 'GitHub' | 'LinkedIn'
quote: string
metricBadge?: string
starCount: number
}CaseStudyKpiinterface CaseStudyKpi {
label: string
value: string
delta: string
}CaseStudyinterface CaseStudy {
id: string
company: string
industry: string
quote: string
authorName: string
authorRole: string
avatar: string
kpis: CaseStudyKpi[]
architectureSummary: string
}SocialPostinterface SocialPost {
name: string
handle: string
initials: string
when: string
body: string
replies: number
reposts: number
likes: number
}WorkbenchTestimonialinterface WorkbenchTestimonial {
id: string
name: string
role: string
company: string
industry: Exclude<TestimonialsIndustry, 'all'>
initials: string
avatarBg: string
quote: string
subquote: string
rating: number
verifiedBadge: string
metrics: { label: string; value: string; trend: string }[]
stack: string[]
}Files installed (8)
src/app/components/blocks/testimonial/testimonial-logo-quote-row.component.ts3.1 kB
// Three inline logo-and-quote pairs with compact attribution — the lightweight // proof row for pages that cannot spare a full testimonial section. // Port of the React block 1:1. import { ChangeDetectionStrategy, Component, Input } from '@angular/core' import { cn } from '@/lib/utils' import { UiAvatarComponent, UiAvatarFallbackComponent } from '@/ui/avatar/avatar.component' import { UiSeparatorComponent } from '@/ui/separator/separator.component' interface LogoQuote { wordmark: string quote: string author: string role: string initials: string } // One sentence each. The row is a proof band, not a testimonial section — if a // quote needs two sentences it belongs in a card layout instead. const quotes: LogoQuote[] = [ { wordmark: 'Northwind', quote: 'Close starts from a reconciled position now, which it never did before.', author: 'Erin Walsh', role: 'VP Finance', initials: 'EW', }, { wordmark: 'Halden', quote: 'Clinic leads answer their own questions without filing a ticket.', author: 'Daniel Brooks', role: 'Head of Analytics', initials: 'DB', }, { wordmark: 'Verity', quote: 'Sales and finance forecast off one definition, so review is about the plan.', author: 'Priya Raman', role: 'RevOps Director', initials: 'PR', }, ] @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonial-logo-quote-row, [ui-testimonial-logo-quote-row]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [UiAvatarComponent, UiAvatarFallbackComponent, UiSeparatorComponent], template: ` <section data-slot="testimonial-logo-quote-row" [class]="rootClass"> <div class="mx-auto max-w-6xl px-6 py-16"> <div class="grid gap-8 md:grid-cols-3 md:gap-10"> @for (entry of quotes; track entry.wordmark; let i = $index) { <figure class="relative"> <span class="text-sm font-semibold tracking-[0.18em] uppercase">{{ entry.wordmark }}</span> <blockquote class="mt-4 text-sm leading-relaxed text-pretty">“{{ entry.quote }}”</blockquote> <figcaption class="mt-5 flex items-center gap-3"> <ui-avatar class="size-8"> <ui-avatar-fallback class="text-xs">{{ entry.initials }}</ui-avatar-fallback> </ui-avatar> <div class="min-w-0"> <p class="truncate text-xs font-medium">{{ entry.author }}</p> <p class="text-muted-foreground truncate text-xs">{{ entry.role }}</p> </div> </figcaption> <!-- Vertical rules between columns only, so the row reads as one band. --> @if (i < quotes.length - 1) { <div ui-separator orientation="vertical" class="absolute top-0 -right-5 hidden h-full md:block"></div> } </figure> } </div> </div> </section> `, }) export class UiTestimonialLogoQuoteRowComponent { @Input('class') className?: string protected readonly quotes = quotes get rootClass(): string { return cn('bg-background', this.className) } }src/app/components/blocks/testimonial/testimonial-marquee-scroll.component.ts5 kB
// Two counter-scrolling rows of quote cards. Hover pauses the row under the // cursor, reduced-motion stops both, and edge masks fade the cards into the page. // Port of the React block 1:1. import { ChangeDetectionStrategy, Component, Input } from '@angular/core' import { cn } from '@/lib/utils' import { UiAvatarComponent, UiAvatarFallbackComponent } from '@/ui/avatar/avatar.component' import { UiBadgeComponent } from '@/ui/badge/badge.component' import { UiCardComponent, UiCardContentComponent } from '@/ui/card/card.component' interface MarqueeQuote { quote: string author: string role: string initials: string } const quotes: MarqueeQuote[] = [ { quote: 'Close starts from a reconciled position now.', author: 'Erin Walsh', role: 'VP Finance', initials: 'EW' }, { quote: 'The request queue went away and stayed away.', author: 'Daniel Brooks', role: 'Head of Analytics', initials: 'DB', }, { quote: 'One pipeline definition, two teams, no argument.', author: 'Priya Raman', role: 'RevOps Director', initials: 'PR', }, { quote: 'We deleted eleven spreadsheets in one quarter.', author: 'Marcus Ellery', role: 'Staff Engineer', initials: 'ME', }, { quote: 'Auditors get a change log instead of a folder.', author: 'Sophie Lindqvist', role: 'Controller', initials: 'SL', }, { quote: 'Permissions finally match the org chart.', author: 'Tom Fairbanks', role: 'IT Director', initials: 'TF' }, { quote: 'Nobody has written a bespoke extract since March.', author: 'Anna Reyes', role: 'Data Lead', initials: 'AR', }, { quote: 'Forecast review is about the forecast again.', author: 'Grace Whitlock', role: 'CFO', initials: 'GW' }, ] @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonial-marquee-scroll, [ui-testimonial-marquee-scroll]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [UiAvatarComponent, UiAvatarFallbackComponent, UiBadgeComponent, UiCardComponent, UiCardContentComponent], template: ` <section data-slot="testimonial-marquee-scroll" [class]="rootClass"> <div class="mx-auto max-w-6xl px-6 pt-20 lg:pt-28"> <div class="max-w-2xl"> <span ui-badge variant="secondary">What people say</span> <h2 class="mt-4 text-3xl font-semibold tracking-tight sm:text-4xl">Eight hundred teams, unprompted</h2> </div> </div> <!-- Edge masks fade the rows into the page so cards never end mid-cut. --> <div class="marquee relative mt-10 space-y-4 pb-20 lg:pb-28"> @for (row of rows; track $index; let ri = $index) { <div class="marquee__row"> <div class="marquee__track" [class.marquee__track--reverse]="ri === 1"> <!-- Duplicated once so the loop has an identical second half to scroll into. --> @for (entry of doubled(row); track entry.author + '-' + $index) { <div ui-card class="w-80 shrink-0"> <div ui-card-content class="p-5"> <blockquote class="text-sm leading-relaxed">“{{ entry.quote }}”</blockquote> <div class="mt-4 flex items-center gap-3"> <ui-avatar class="size-8"> <ui-avatar-fallback class="text-xs">{{ entry.initials }}</ui-avatar-fallback> </ui-avatar> <div class="min-w-0"> <p class="truncate text-xs font-medium">{{ entry.author }}</p> <p class="text-muted-foreground truncate text-xs">{{ entry.role }}</p> </div> </div> </div> </div> } </div> </div> } </div> </section> `, // Keyframes and the edge mask cannot be expressed as utilities; everything // else stays in the template. Matches the approach in logo-ticker-infinite. styles: ` @keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } } .marquee { mask-image: linear-gradient(to right, transparent, black 6rem, black calc(100% - 6rem), transparent); } .marquee__row { overflow: hidden; } .marquee__track { display: flex; width: max-content; gap: 1rem; animation: marquee-scroll 46s linear infinite; } .marquee__track--reverse { animation-direction: reverse; } .marquee__row:hover .marquee__track { animation-play-state: paused; } @media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee__row { overflow-x: auto; } } `, }) export class UiTestimonialMarqueeScrollComponent { @Input('class') className?: string protected readonly rows: MarqueeQuote[][] = [quotes.slice(0, 4), quotes.slice(4)] get rootClass(): string { return cn('bg-background overflow-hidden', this.className) } doubled(row: MarqueeQuote[]): MarqueeQuote[] { return [...row, ...row] } }src/app/components/blocks/testimonial/testimonial-masonry-verified-grid.component.ts9.5 kB
// Masonry grid of verified testimonials with category filters and metric // badges. Port of the React block 1:1. import { ChangeDetectionStrategy, Component, Input, computed, signal } from '@angular/core' import { CheckCircle2, LucideAngularModule, Star } from 'lucide-angular' import { cn } from '@/lib/utils' import { UiBadgeComponent } from '@/ui/badge/badge.component' import { UiCardComponent } from '@/ui/card/card.component' export type TestimonialRoleFilter = 'all' | 'frontend' | 'founder' | 'design-eng' export interface VerifiedTestimonial { id: string name: string role: string roleCategory: 'frontend' | 'founder' | 'design-eng' company: string avatar: string handle: string verifiedSource: 'Twitter' | 'GitHub' | 'LinkedIn' quote: string metricBadge?: string starCount: number } const testimonials: VerifiedTestimonial[] = [ { id: '1', name: 'Alexandre Rivière', role: 'Principal Design Engineer', roleCategory: 'design-eng', company: 'Linear Ecosystem', avatar: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=150&auto=format&fit=crop&q=80', handle: '@alex_riviere', verifiedSource: 'Twitter', quote: 'The unbundled component model completely cured our team from npm dependency fatigue. We get raw SFCs and TSX with exact Tailwind v4 token alignments. Zero wrapper bloat, 100% code ownership.', metricBadge: '4.2x Faster Ship Velocity', starCount: 5, }, { id: '2', name: 'Sarah Chen', role: 'VP of Engineering', roleCategory: 'founder', company: 'ScaleDev AI', avatar: 'https://images.unsplash.com/photo-1580489944761-15a19d654956?w=150&auto=format&fit=crop&q=80', handle: '@schen_ai', verifiedSource: 'GitHub', quote: 'We had severe bundle bloat with our previous UI package (over 500kB of unused JS). Switching to UIPKGE reduced our initial bundle to 38kB and solved our INP scores overnight.', metricBadge: '-88% Bundle Size', starCount: 5, }, { id: '3', name: 'Marcus Vance', role: 'Staff Frontend Architect', roleCategory: 'frontend', company: 'HyperQubit Cloud', avatar: 'https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=150&auto=format&fit=crop&q=80', handle: '@marcus_vance', verifiedSource: 'Twitter', quote: 'Dual-framework parity is not a gimmick here—it is mathematically verified. We maintain a Nuxt 3 admin console and Next.js customer portal with identical design tokens and micro-interactions.', metricBadge: '100% Token Parity', starCount: 5, }, { id: '4', name: 'Elena Rostova', role: 'Head of Product Design', roleCategory: 'design-eng', company: 'Fintech Velocity', avatar: 'https://images.unsplash.com/photo-1517841905240-472988babdf9?w=150&auto=format&fit=crop&q=80', handle: '@elena_craft', verifiedSource: 'GitHub', quote: 'The spring physics and micro-interactions match Linear and Raycast levels of craft. No arbitrary sub-12px micro-text or sloppy contrast issues.', metricBadge: 'WCAG AA AA Certified', starCount: 5, }, { id: '5', name: 'David Kim', role: 'Founder & CTO', roleCategory: 'founder', company: 'PulseOps', avatar: 'https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=150&auto=format&fit=crop&q=80', handle: '@dkim_ops', verifiedSource: 'Twitter', quote: 'Being able to run `npx shadcn-vue add` and have clean, pristine components in our git repository is the single biggest DX breakthrough since Vite.', metricBadge: 'Zero Upstream Lock-in', starCount: 5, }, { id: '6', name: 'Liam O’Connor', role: 'Lead UI Engineer', roleCategory: 'frontend', company: 'Starlight Media', avatar: 'https://images.unsplash.com/photo-1522075469751-3a6694fb2f61?w=150&auto=format&fit=crop&q=80', handle: '@liam_dev', verifiedSource: 'GitHub', quote: 'The marketing blocks are actually functional workbenches with live sliders, real SVG telemetry sparklines, and zero dummy shapes. Huge time saver.', metricBadge: '450+ Verified Blocks', starCount: 5, }, ] @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonial-masonry-verified-grid, [ui-testimonial-masonry-verified-grid]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [LucideAngularModule, UiBadgeComponent, UiCardComponent], template: ` <section data-slot="testimonial-masonry-verified-grid" [class]="rootClass"> <div class="mx-auto max-w-7xl space-y-12"> <!-- Section Header --> <div class="mx-auto max-w-3xl space-y-4 text-center"> <span ui-badge variant="secondary" class="gap-1.5 px-3 py-1 font-mono text-xs shadow-xs"> <lucide-icon [img]="Star" class="fill-warning text-warning size-3.5" /> Verified Engineer Endorsements </span> <h2 class="text-foreground text-3xl font-bold tracking-tight sm:text-4xl"> Loved by design engineers and CTOs worldwide. </h2> <p class="text-muted-foreground text-base"> Real feedback from engineers who dumped monolithic npm packages for unbundled code ownership. </p> <!-- Category Filters --> <div class="flex flex-wrap items-center justify-center gap-2 pt-2"> <button type="button" [class]="filterClass('all')" (click)="activeFilter.set('all')"> All Perspectives ({{ testimonials.length }}) </button> <button type="button" [class]="filterClass('design-eng')" (click)="activeFilter.set('design-eng')"> Design Engineers </button> <button type="button" [class]="filterClass('frontend')" (click)="activeFilter.set('frontend')"> Frontend Architects </button> <button type="button" [class]="filterClass('founder')" (click)="activeFilter.set('founder')"> CTOs & Founders </button> </div> </div> <!-- Masonry Grid (3 Columns) --> <div class="grid grid-cols-1 items-start gap-6 md:grid-cols-2 lg:grid-cols-3"> @for (t of filteredTestimonials(); track t.id) { <div ui-card class="border-border bg-card/95 hover:border-primary/40 group relative flex flex-col justify-between space-y-4 overflow-hidden rounded-2xl p-6 text-left shadow-lg transition-colors hover:shadow-xl" > <!-- Top Row: Avatar, Name, Handle, Verified Badge --> <div class="flex items-start justify-between gap-3"> <div class="flex items-center gap-3"> <img [src]="t.avatar" [alt]="t.name" class="border-border size-10 shrink-0 rounded-full border object-cover" /> <div class="min-w-0"> <div class="flex items-center gap-1.5"> <h4 class="text-foreground truncate font-mono text-xs font-bold">{{ t.name }}</h4> <lucide-icon [img]="CheckCircle2" class="text-info size-3.5 shrink-0" /> </div> <p class="text-muted-foreground truncate text-xs">{{ t.role }} • {{ t.company }}</p> </div> </div> <span ui-badge variant="outline" class="text-muted-foreground shrink-0 font-mono text-xs"> {{ t.verifiedSource }} </span> </div> <!-- Quote text --> <p class="text-foreground/90 text-xs leading-relaxed italic sm:text-sm">“{{ t.quote }}”</p> <!-- Footer Row: Star Rating & Impact Metric Badge --> <div class="border-border/60 flex flex-wrap items-center justify-between gap-2 border-t pt-3"> <div class="flex items-center gap-0.5"> @for (s of stars(t.starCount); track s) { <lucide-icon [img]="Star" class="fill-warning text-warning size-3.5" /> } </div> @if (t.metricBadge) { <span ui-badge variant="outline" class="border-success/20 bg-success/10 text-success font-mono text-xs" > {{ t.metricBadge }} </span> } </div> </div> } </div> </div> </section> `, }) export class UiTestimonialMasonryVerifiedGridComponent { protected readonly CheckCircle2 = CheckCircle2 protected readonly Star = Star @Input('class') className?: string protected readonly testimonials = testimonials readonly activeFilter = signal<TestimonialRoleFilter>('all') readonly filteredTestimonials = computed(() => { const f = this.activeFilter() if (f === 'all') return testimonials return testimonials.filter((t) => t.roleCategory === f) }) get rootClass(): string { return cn('bg-background relative overflow-hidden px-4 py-16 sm:px-6 sm:py-24 lg:px-8', this.className) } filterClass(filter: TestimonialRoleFilter): string { return cn( 'rounded-lg border px-3.5 py-1 font-mono text-xs transition-colors', this.activeFilter() === filter ? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs' : 'border-border bg-card text-muted-foreground hover:text-foreground', ) } stars(count: number): number[] { return Array.from({ length: count }, (_, i) => i) } }src/app/components/blocks/testimonial/testimonial-quote-carousel-telemetry.component.ts10.6 kB
// Enterprise case study spotlight with interactive company switcher and // telemetry KPIs. Port of the React block 1:1. import { ChangeDetectionStrategy, Component, Input, computed, signal } from '@angular/core' import { Building2, CheckCircle2, ChevronLeft, ChevronRight, LucideAngularModule, TrendingUp, Zap, } from 'lucide-angular' import { cn } from '@/lib/utils' import { UiBadgeComponent } from '@/ui/badge/badge.component' import { UiButtonComponent } from '@/ui/button/button.component' import { UiCardComponent } from '@/ui/card/card.component' export interface CaseStudyKpi { label: string value: string delta: string } export interface CaseStudy { id: string company: string industry: string quote: string authorName: string authorRole: string avatar: string kpis: CaseStudyKpi[] architectureSummary: string } const caseStudies: CaseStudy[] = [ { id: 'scale-ai', company: 'HyperScale AI Platform', industry: 'Enterprise Developer Cloud', quote: 'We replaced an unwieldy 800MB npm design system package with UIPKGE unbundled registry primitives. Our developers can now inspect, customize, and refactor any component directly in our codebase without waiting for semver releases.', authorName: 'Dr. Evelyn Ward', authorRole: 'VP of Product Engineering', avatar: 'https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?w=150&auto=format&fit=crop&q=80', kpis: [ { label: 'Bundle Footprint', value: '42 kB', delta: '-87% JS overhead' }, { label: 'Ship Velocity', value: '3.4x', delta: 'Release cycle speedup' }, { label: 'Interaction INP', value: '18 ms', delta: 'P99 render latency' }, ], architectureSummary: 'Migrated from monolithic NPM design system to raw unbundled Vue 3.5 SFCs.', }, { id: 'fintech-apex', company: 'Apex Clearinghouse', industry: 'Institutional Fintech', quote: 'Strict SOC2 Type II and HIPAA compliance required zero runtime telemetry from third-party vendor npm packages. UIPKGE’s own-your-code distribution model satisfied our security audits immediately.', authorName: 'Vikram Mehta', authorRole: 'Chief Information Security Officer', avatar: 'https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?w=150&auto=format&fit=crop&q=80', kpis: [ { label: 'Security Audit', value: '100%', delta: 'Zero third-party CVEs' }, { label: 'Uptime Reliability', value: '99.98%', delta: 'Edge static distribution' }, { label: 'Annual TCO', value: '$140,000', delta: 'Saved in seat licenses' }, ], architectureSummary: 'Full source code ownership inside air-gapped GitHub enterprise monorepo.', }, { id: 'pulse-health', company: 'Vitalis Health Systems', industry: 'Clinical Medical Intelligence', quote: 'Our clinical dashboard has both a Vue 3 Nuxt clinician portal and a React Next.js patient mobile app. UIPKGE is the only registry providing 1:1 identical tokens and DOM accessibility across both.', authorName: 'Camila Rodriguez', authorRole: 'Director of Frontend Architecture', avatar: 'https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=150&auto=format&fit=crop&q=80', kpis: [ { label: 'Design Parity', value: '1:1', delta: '100% CVA class sync' }, { label: 'Accessibility', value: 'WCAG AAA', delta: 'Keyboard & screen reader' }, { label: 'Sync Overhead', value: '0 hrs', delta: 'Dual framework AST registry' }, ], architectureSummary: 'Cross-framework design system synchronized via single `@theme inline` Tailwind file.', }, ] @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonial-quote-carousel-telemetry, [ui-testimonial-quote-carousel-telemetry]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [LucideAngularModule, UiBadgeComponent, UiButtonComponent, UiCardComponent], template: ` <section data-slot="testimonial-quote-carousel-telemetry" [class]="rootClass"> <div class="mx-auto max-w-6xl space-y-12"> <!-- Section Header --> <div class="mx-auto max-w-3xl space-y-4 text-center"> <span ui-badge variant="secondary" class="gap-1.5 px-3 py-1 font-mono text-xs shadow-xs"> <lucide-icon [img]="TrendingUp" class="text-primary size-3.5" /> Enterprise Customer Impact </span> <h2 class="text-foreground text-3xl font-bold tracking-tight sm:text-4xl"> Quantifiable ROI and architectural case studies. </h2> <p class="text-muted-foreground text-base"> See how leading engineering teams transformed their frontend velocity with unbundled code. </p> <!-- Company Tabs --> <div class="flex flex-wrap items-center justify-center gap-2 pt-2"> @for (study of caseStudies; track study.id; let idx = $index) { <button type="button" [class]="companyTabClass(idx)" (click)="activeIndex.set(idx)"> <lucide-icon [img]="Building2" class="size-3.5" /> <span>{{ study.company }}</span> </button> } </div> </div> <!-- Spotlight Workbench Card (Split-Pane) --> <div ui-card class="border-border bg-card/95 relative overflow-hidden rounded-3xl p-6 text-left shadow-sm sm:p-10" > <div class="grid grid-cols-1 items-center gap-8 lg:grid-cols-12"> <!-- Left Column: Quote & Executive Info (7 Cols) --> <div class="space-y-6 lg:col-span-7"> <div class="flex items-center gap-2"> <span ui-badge variant="outline" class="text-primary bg-primary/10 border-primary/20 font-mono text-xs"> {{ currentStudy().industry }} </span> </div> <blockquote class="text-foreground text-lg leading-relaxed font-medium sm:text-xl"> “{{ currentStudy().quote }}” </blockquote> <div class="flex items-center gap-4 pt-2"> <img [src]="currentStudy().avatar" [alt]="currentStudy().authorName" class="border-border size-12 shrink-0 rounded-full border object-cover shadow-sm" /> <div> <h4 class="text-foreground font-mono text-sm font-bold">{{ currentStudy().authorName }}</h4> <p class="text-muted-foreground text-xs"> {{ currentStudy().authorRole }} • {{ currentStudy().company }} </p> </div> </div> <!-- Navigation Controls --> <div class="border-border/60 flex items-center gap-2 border-t pt-4"> <button ui-button size="sm" variant="outline" class="size-9 rounded-lg p-0" aria-label="Previous case study" (click)="prevSlide()" > <lucide-icon [img]="ChevronLeft" class="size-4" /> </button> <button ui-button size="sm" variant="outline" class="size-9 rounded-lg p-0" aria-label="Next case study" (click)="nextSlide()" > <lucide-icon [img]="ChevronRight" class="size-4" /> </button> <span class="text-muted-foreground ml-2 font-mono text-xs"> Case Study {{ activeIndex() + 1 }} of {{ caseStudies.length }} </span> </div> </div> <!-- Right Column: Quantitative Telemetry KPIs & Architecture Diff (5 Cols) --> <div class="bg-muted/40 border-border space-y-6 rounded-2xl border p-6 lg:col-span-5"> <div class="border-border flex items-center justify-between border-b pb-3"> <h4 class="text-foreground flex items-center gap-1.5 font-mono text-xs font-bold"> <lucide-icon [img]="Zap" class="text-warning size-3.5" /> Verified Impact Telemetry </h4> <span ui-badge variant="outline" class="border-success/20 text-success font-mono text-xs"> Post-Audit </span> </div> <!-- 3 KPI Cards --> <div class="grid grid-cols-1 gap-3"> @for (kpi of currentStudy().kpis; track kpi.label) { <div class="border-border/80 bg-card flex items-center justify-between rounded-xl border p-3.5 font-mono" > <div> <div class="text-muted-foreground text-xs">{{ kpi.label }}</div> <div class="text-success text-xs font-semibold">{{ kpi.delta }}</div> </div> <div class="text-foreground text-xl font-bold">{{ kpi.value }}</div> </div> } </div> <!-- Architecture summary --> <div class="text-muted-foreground flex items-start gap-2 pt-2 font-mono text-xs"> <lucide-icon [img]="CheckCircle2" class="text-primary mt-0.5 size-4 shrink-0" /> <span>{{ currentStudy().architectureSummary }}</span> </div> </div> </div> </div> </div> </section> `, }) export class UiTestimonialQuoteCarouselTelemetryComponent { protected readonly Building2 = Building2 protected readonly CheckCircle2 = CheckCircle2 protected readonly ChevronLeft = ChevronLeft protected readonly ChevronRight = ChevronRight protected readonly TrendingUp = TrendingUp protected readonly Zap = Zap @Input('class') className?: string protected readonly caseStudies = caseStudies readonly activeIndex = signal(0) readonly currentStudy = computed(() => caseStudies[this.activeIndex()] ?? caseStudies[0]!) get rootClass(): string { return cn('bg-background relative overflow-hidden px-4 py-16 sm:px-6 sm:py-24 lg:px-8', this.className) } companyTabClass(idx: number): string { return cn( 'flex items-center gap-1.5 rounded-lg border px-3.5 py-1.5 font-mono text-xs transition-colors', this.activeIndex() === idx ? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs' : 'border-border bg-card text-muted-foreground hover:text-foreground', ) } nextSlide(): void { this.activeIndex.update((v) => (v + 1) % caseStudies.length) } prevSlide(): void { this.activeIndex.update((v) => (v - 1 + caseStudies.length) % caseStudies.length) } }src/app/components/blocks/testimonial/testimonial-single-featured.component.ts3.1 kB
// One pull quote given the whole section — oversized text, avatar // attribution, customer wordmark, and a supporting result metric alongside. // Port of the React block 1:1. import { ChangeDetectionStrategy, Component, Input } from '@angular/core' import { ArrowRight, LucideAngularModule } from 'lucide-angular' import { cn } from '@/lib/utils' import { UiAvatarComponent, UiAvatarFallbackComponent } from '@/ui/avatar/avatar.component' import { UiBadgeComponent } from '@/ui/badge/badge.component' import { UiButtonComponent } from '@/ui/button/button.component' import { UiSeparatorComponent } from '@/ui/separator/separator.component' @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonial-single-featured, [ui-testimonial-single-featured]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [ LucideAngularModule, UiAvatarComponent, UiAvatarFallbackComponent, UiBadgeComponent, UiButtonComponent, UiSeparatorComponent, ], template: ` <section data-slot="testimonial-single-featured" [class]="rootClass"> <div class="mx-auto max-w-5xl px-6 py-20 lg:py-28"> <span ui-badge variant="secondary">Customer</span> <!-- One quote, given the whole section. Keep it short: the size is what carries it, and a long quote at this scale stops being readable. --> <blockquote class="mt-6 text-2xl leading-tight font-medium tracking-tight text-balance sm:text-3xl lg:text-4xl"> “We stopped arguing about whose number was right and started arguing about what to do next.” </blockquote> <div class="mt-10 grid gap-8 sm:grid-cols-[1fr_auto] sm:items-center"> <div class="flex items-center gap-4"> <ui-avatar class="size-12"> <ui-avatar-fallback>EW</ui-avatar-fallback> </ui-avatar> <div> <p class="font-medium">Erin Walsh</p> <p class="text-muted-foreground text-sm">VP Finance · Northwind Logistics</p> </div> <div ui-separator orientation="vertical" class="ml-2 hidden h-10 sm:block"></div> <span class="hidden text-sm font-semibold tracking-[0.18em] uppercase sm:inline">Northwind</span> </div> <div class="sm:text-right"> <p class="font-display text-3xl font-bold tracking-tight">5 days</p> <p class="text-muted-foreground mt-1 text-sm">off the monthly close</p> </div> </div> <div ui-separator class="my-10"></div> <div class="flex flex-wrap items-center justify-between gap-4"> <p class="text-muted-foreground text-sm">Freight forwarding · 1,200 staff · live since Q1 2026</p> <button ui-button variant="outline"> Read the full story <lucide-icon [img]="ArrowRight" class="ml-2 size-4" /> </button> </div> </div> </section> `, }) export class UiTestimonialSingleFeaturedComponent { protected readonly ArrowRight = ArrowRight @Input('class') className?: string get rootClass(): string { return cn('bg-background', this.className) } }src/app/components/blocks/testimonial/testimonial-social-cards.component.ts5.9 kB
// Social-post style endorsements in a masonry column flow — handle, avatar, // timestamp, body, and engagement counts, written as posts rather than polished // quotes. Port of the React block 1:1. import { ChangeDetectionStrategy, Component, Input } from '@angular/core' import { Heart, LucideAngularModule, MessageCircle, Repeat2 } from 'lucide-angular' import { cn } from '@/lib/utils' import { UiAvatarComponent, UiAvatarFallbackComponent } from '@/ui/avatar/avatar.component' import { UiBadgeComponent } from '@/ui/badge/badge.component' import { UiButtonComponent } from '@/ui/button/button.component' import { UiCardComponent, UiCardContentComponent } from '@/ui/card/card.component' interface SocialPost { name: string handle: string initials: string when: string body: string replies: number reposts: number likes: number } // Written as posts, not polished quotes — the lowercase, the caveats, and the // specific numbers are what make them read as real. const posts: SocialPost[] = [ { name: 'Erin Walsh', handle: '@erinwalsh', initials: 'EW', when: '4h', body: 'closed the month in four days. four. i have been doing this for eleven years and that number has never started with a four.', replies: 18, reposts: 42, likes: 310, }, { name: 'Marcus Ellery', handle: '@mellery', initials: 'ME', when: '1d', body: 'the thing that sold me was the diff. every metric change opens a PR. i can finally review what finance is about to publish instead of finding out in the board deck.', replies: 7, reposts: 91, likes: 604, }, { name: 'Anna Reyes', handle: '@annareyes', initials: 'AR', when: '2d', body: 'migration took longer than the marketing site says (three weeks, not one) but nothing broke and we did not copy a single row out of the warehouse.', replies: 24, reposts: 33, likes: 188, }, { name: 'Tom Fairbanks', handle: '@tfairbanks', initials: 'TF', when: '3d', body: 'row level scoping wired to okta groups. someone changes teams, their dashboards change with them. this used to be a quarterly cleanup ticket.', replies: 11, reposts: 57, likes: 402, }, { name: 'Priya Raman', handle: '@praman', initials: 'PR', when: '5d', body: 'forecast review used to open with twenty minutes of reconciling two decks. now it opens with the forecast. small change, enormous difference.', replies: 5, reposts: 28, likes: 233, }, { name: 'Sophie Lindqvist', handle: '@slindqvist', initials: 'SL', when: '1w', body: 'handed the auditors an exported change log instead of a shared folder and they were visibly confused about what to do with their afternoon.', replies: 31, reposts: 120, likes: 870, }, ] @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonial-social-cards, [ui-testimonial-social-cards]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [ LucideAngularModule, UiAvatarComponent, UiAvatarFallbackComponent, UiBadgeComponent, UiButtonComponent, UiCardComponent, UiCardContentComponent, ], template: ` <section data-slot="testimonial-social-cards" [class]="rootClass"> <div class="mx-auto max-w-6xl px-6 py-20 lg:py-28"> <div class="max-w-2xl"> <span ui-badge variant="secondary">In the wild</span> <h2 class="mt-4 text-3xl font-semibold tracking-tight sm:text-4xl">Posted without being asked</h2> <p class="text-muted-foreground mt-3 text-lg"> Unedited, including the one about the migration taking three weeks. </p> </div> <!-- CSS columns give a masonry flow with no JS layout pass; cards use break-inside to avoid splitting across a column boundary. --> <div class="mt-10 gap-4 sm:columns-2 lg:columns-3"> @for (post of posts; track post.handle) { <div ui-card class="mb-4 break-inside-avoid"> <div ui-card-content class="p-5"> <div class="flex items-center gap-3"> <ui-avatar class="size-9"> <ui-avatar-fallback class="text-xs">{{ post.initials }}</ui-avatar-fallback> </ui-avatar> <div class="min-w-0"> <p class="truncate text-sm font-medium">{{ post.name }}</p> <p class="text-muted-foreground truncate text-xs">{{ post.handle }} · {{ post.when }}</p> </div> </div> <p class="mt-3 text-sm leading-relaxed">{{ post.body }}</p> <div class="text-muted-foreground mt-4 flex items-center gap-5 text-xs"> <button ui-button variant="ghost" size="sm" class="h-auto gap-1.5 px-1.5 py-1 text-xs font-normal"> <lucide-icon [img]="MessageCircle" class="size-3.5" /> {{ post.replies }} </button> <button ui-button variant="ghost" size="sm" class="h-auto gap-1.5 px-1.5 py-1 text-xs font-normal"> <lucide-icon [img]="Repeat2" class="size-3.5" /> {{ post.reposts }} </button> <button ui-button variant="ghost" size="sm" class="h-auto gap-1.5 px-1.5 py-1 text-xs font-normal"> <lucide-icon [img]="Heart" class="size-3.5" /> {{ post.likes }} </button> </div> </div> </div> } </div> </div> </section> `, }) export class UiTestimonialSocialCardsComponent { protected readonly Heart = Heart protected readonly MessageCircle = MessageCircle protected readonly Repeat2 = Repeat2 @Input('class') className?: string protected readonly posts = posts get rootClass(): string { return cn('bg-background', this.className) } }src/app/components/blocks/testimonial/testimonials-01.component.ts16.7 kB
// Centered single-card carousel. Quote icon, large pull-quote, avatar with // initials, name + role + company. Pip row flips between testimonials. // Port of the React block 1:1. import { ChangeDetectionStrategy, Component, DestroyRef, Input, computed, inject, signal } from '@angular/core' import { BadgeCheck, CheckCircle2, ChevronLeft, ChevronRight, LucideAngularModule, Pause, Play, Quote, Star, } from 'lucide-angular' import { cn } from '@/lib/utils' import { UiBadgeComponent } from '@/ui/badge/badge.component' import { UiButtonComponent } from '@/ui/button/button.component' import { UiCardComponent } from '@/ui/card/card.component' export type TestimonialsIndustry = 'all' | 'saas' | 'healthtech' | 'fintech' | 'devtools' export interface WorkbenchTestimonial { id: string name: string role: string company: string industry: Exclude<TestimonialsIndustry, 'all'> initials: string avatarBg: string quote: string subquote: string rating: number verifiedBadge: string metrics: { label: string; value: string; trend: string }[] stack: string[] } const testimonials: WorkbenchTestimonial[] = [ { id: '1', name: 'Aisha Rahman', role: 'VP of People & Operations', company: 'Northwind Global Logistics', industry: 'saas', initials: 'AR', avatarBg: 'bg-info/10 text-info border-info/20', quote: 'We replaced four legacy spreadsheets and two disjointed SaaS subscriptions with UIPKGE blocks. Onboarding time dropped from 6 days to under 4 hours.', subquote: 'The unbundled registry architecture gave our engineers total ownership without ever dealing with broken npm updates or rigid vendor locks.', rating: 5, verifiedBadge: 'Verified Enterprise Customer · 2,400+ Seats', metrics: [ { label: 'Onboarding Velocity', value: '< 4 hours', trend: '-88% time' }, { label: 'SaaS Tooling Spend', value: '$140k / yr', trend: 'Saved' }, { label: 'Employee NPS', value: '+74', trend: 'Top Decile' }, ], stack: ['Vue 3.5', 'Tailwind CSS v4', 'PostgreSQL', 'SCIM Okta'], }, { id: '2', name: 'Marco Vidal', role: 'Director of Information Security', company: 'Helio Health Systems', industry: 'healthtech', initials: 'MV', avatarBg: 'bg-success/10 text-success border-success/20', quote: 'SOC 2 and HIPAA evidence collection went from a grueling quarterly nightmare to a continuous, automated background audit trail.', subquote: 'Our external auditors completed our Type II examination in record time because every UI state change is cryptographically verifiable.', rating: 5, verifiedBadge: 'Verified Healthcare Provider · HIPAA Tier 1', metrics: [ { label: 'Audit Prep Duration', value: '1.5 days', trend: 'Down from 3 wks' }, { label: 'Compliance Adherence', value: '100.0%', trend: '142 Controls' }, { label: 'Zero Trust Rollout', value: '14 Days', trend: '100% Org' }, ], stack: ['React 19', 'Reka UI Primitives', 'Cloudflare Workers', 'AuditLog API'], }, { id: '3', name: 'Tomoko Saito', role: 'Staff Infrastructure Architect', company: 'Pixel & Co Engine Labs', industry: 'devtools', initials: 'TS', avatarBg: 'bg-chart-1/10 text-chart-1 border-chart-1/20', quote: 'My favourite part is how blazing fast it is. Sub-20ms P99 search latencies across 50,000 workforce records without a single loading spinner.', subquote: 'Keyboard shortcuts for every workflow make our engineering managers feel like they are operating a sleek CLI rather than a web dashboard.', rating: 5, verifiedBadge: 'Verified DevTools Customer · 450+ Devs', metrics: [ { label: 'P99 Edge Latency', value: '18ms', trend: 'Global Edge' }, { label: 'Daily Hotkey Actions', value: '42k / day', trend: '+310%' }, { label: 'Memory Footprint', value: '< 12MB', trend: 'Zero bloat' }, ], stack: ['Vue 3.5', 'Vite', 'Turborepo', 'WebAssembly'], }, { id: '4', name: 'Julian Montgomery', role: 'Chief Financial Officer', company: 'Vanguard FinTech Matrix', industry: 'fintech', initials: 'JM', avatarBg: 'bg-warning/10 text-warning border-warning/20', quote: 'Multi-currency payroll runs across 34 countries used to require 5 days of manual reconciliation. Now it settles automatically with zero FX fee slippage.', subquote: 'Direct ledger sync and real-time tax calculations give our board instant visibility into gross-to-net runway.', rating: 5, verifiedBadge: 'Verified FinTech Customer · $800M+ Volume', metrics: [ { label: 'Payroll Settlement', value: 'Instant', trend: 'FedNow / SEPA' }, { label: 'FX Reconciliation', value: '0.00%', trend: 'Zero error' }, { label: 'Tax Auto-filing', value: '34 Regs', trend: 'Statutory' }, ], stack: ['React 19', 'Next.js', 'Tailwind v4', 'Stripe Treasury'], }, ] const industryOptions: { id: TestimonialsIndustry; label: string }[] = [ { id: 'all', label: 'All Industries' }, { id: 'saas', label: 'Enterprise SaaS' }, { id: 'healthtech', label: 'HealthTech' }, { id: 'devtools', label: 'Developer DX' }, { id: 'fintech', label: 'FinTech' }, ] @Component({ changeDetection: ChangeDetectionStrategy.Eager, selector: 'ui-testimonials-01, [ui-testimonials-01]', standalone: true, host: { '[attr.class]': '"contents"' }, imports: [LucideAngularModule, UiBadgeComponent, UiButtonComponent, UiCardComponent], template: ` <section data-slot="testimonials-01" [class]="rootClass"> <div class="mx-auto max-w-7xl space-y-12 px-4 sm:px-6 lg:px-8"> <!-- Section Header --> <div class="flex flex-col gap-6 md:flex-row md:items-end md:justify-between"> <div class="max-w-2xl space-y-3"> <div class="inline-flex items-center gap-2"> <span ui-badge variant="outline" class="border-primary/30 text-primary bg-primary/5 gap-1.5 px-2.5 py-1 font-mono text-xs tracking-wide uppercase" > <lucide-icon [img]="BadgeCheck" class="size-3.5" /> Verified Case Studies </span> <span class="text-muted-foreground font-mono text-xs">Real-World Customer Telemetry</span> </div> <h2 class="text-foreground text-3xl font-bold tracking-tight sm:text-4xl"> Trusted by the Teams Building the Future. </h2> <p class="text-muted-foreground text-base leading-relaxed sm:text-lg"> See how high-growth scaleups and enterprise leaders accelerate engineering velocity and operational clarity. </p> </div> <!-- Industry Filter Switcher --> <div class="bg-muted/60 border-border flex flex-wrap items-center gap-1.5 rounded-lg border p-1"> @for (cat of industryOptions; track cat.id) { <button type="button" [class]="industryClass(cat.id)" (click)="setIndustry(cat.id)"> {{ cat.label }} </button> } </div> </div> <!-- Featured Testimonial Canvas --> <div ui-card class="bg-card border-border overflow-hidden shadow-md"> <div class="grid grid-cols-1 lg:grid-cols-12"> <!-- Left Main Quote Area (7 cols) --> <div class="flex flex-col justify-between space-y-8 p-6 sm:p-10 lg:col-span-7"> <div class="space-y-6"> <!-- Rating & Badge --> <div class="flex flex-wrap items-center justify-between gap-3"> <div class="text-warning flex items-center gap-1"> @for (s of stars(activeTestimonial().rating); track s) { <lucide-icon [img]="Star" class="fill-warning size-4" /> } </div> <span ui-badge variant="outline" class="border-success/20 bg-success/10 text-success gap-1.5 font-mono text-xs" > <lucide-icon [img]="CheckCircle2" class="size-3" /> {{ activeTestimonial().verifiedBadge }} </span> </div> <!-- Quote Content --> <div class="relative space-y-3"> <lucide-icon [img]="Quote" class="text-primary/20 absolute -top-4 -left-3 -z-10 size-8" /> <p class="text-foreground text-xl leading-relaxed font-medium tracking-tight sm:text-2xl"> “{{ activeTestimonial().quote }}” </p> <p class="text-muted-foreground text-sm leading-relaxed"> {{ activeTestimonial().subquote }} </p> </div> </div> <!-- Author Info & Controls --> <div class="border-border flex flex-col justify-between gap-4 border-t pt-6 sm:flex-row sm:items-center"> <div class="flex items-center gap-3.5"> <div class="flex size-11 items-center justify-center rounded-full border text-sm font-bold" [class]="activeTestimonial().avatarBg" > {{ activeTestimonial().initials }} </div> <div> <h4 class="text-foreground text-sm font-semibold">{{ activeTestimonial().name }}</h4> <p class="text-muted-foreground text-xs"> {{ activeTestimonial().role }} · <span class="text-foreground font-medium">{{ activeTestimonial().company }}</span> </p> </div> </div> <!-- Navigation Buttons --> <div class="flex items-center gap-2"> <button ui-button variant="outline" size="icon" class="size-8 rounded-lg" aria-label="Previous customer story" (click)="prev()" > <lucide-icon [img]="ChevronLeft" class="size-4" /> </button> <button ui-button variant="outline" size="icon" class="size-8 rounded-lg" [attr.aria-label]="isAutoPlaying() ? 'Pause rotation' : 'Resume rotation'" (click)="toggleAutoPlay()" > @if (isAutoPlaying()) { <lucide-icon [img]="Pause" class="text-primary size-3.5" /> } @else { <lucide-icon [img]="Play" class="size-3.5" /> } </button> <button ui-button variant="outline" size="icon" class="size-8 rounded-lg" aria-label="Next customer story" (click)="next()" > <lucide-icon [img]="ChevronRight" class="size-4" /> </button> </div> </div> </div> <!-- Right Telemetry & Metrics Sidebar (5 cols) --> <div class="bg-muted/20 border-border flex flex-col justify-between space-y-6 border-t p-6 sm:p-8 lg:col-span-5 lg:border-t-0 lg:border-l" > <div class="space-y-4"> <div class="flex items-center justify-between"> <span class="text-muted-foreground font-mono text-xs tracking-wider uppercase">Impact Telemetry</span> <span class="text-success font-mono text-xs">Production Validated</span> </div> <!-- Metrics Grid --> <div class="space-y-3"> @for (m of activeTestimonial().metrics; track m.label) { <div class="border-border bg-card/80 flex items-center justify-between rounded-lg border p-3.5 shadow-xs" > <div> <p class="text-muted-foreground text-xs">{{ m.label }}</p> <p class="text-foreground mt-0.5 text-lg font-bold tracking-tight">{{ m.value }}</p> </div> <span ui-badge variant="secondary" class="bg-success/10 text-success font-mono text-xs font-semibold" > {{ m.trend }} </span> </div> } </div> <!-- Stack Tags --> <div class="space-y-2 pt-2"> <p class="text-muted-foreground font-mono text-xs tracking-wider uppercase"> Tech Stack Architecture </p> <div class="flex flex-wrap gap-1.5"> @for (tech of activeTestimonial().stack; track tech) { <span ui-badge variant="outline" class="bg-background font-mono text-xs"> {{ tech }} </span> } </div> </div> </div> <!-- Story Navigation Dots --> <div class="border-border/60 flex items-center justify-between border-t pt-4"> <div class="flex items-center gap-1.5"> @for (t of filteredTestimonials(); track t.id; let i = $index) { <button type="button" [attr.aria-label]="'Jump to testimonial ' + (i + 1)" [class]=" 'h-1.5 rounded-full transition-colors duration-300 ' + (i === activeIndex() ? 'bg-primary w-6' : 'bg-muted-foreground/30 hover:bg-muted-foreground/60 w-2') " (click)="activeIndex.set(i)" ></button> } </div> <span class="text-muted-foreground font-mono text-xs"> {{ activeIndex() + 1 }} of {{ filteredTestimonials().length }} Stories </span> </div> </div> </div> </div> </div> </section> `, }) export class UiTestimonials01Component { protected readonly BadgeCheck = BadgeCheck protected readonly CheckCircle2 = CheckCircle2 protected readonly ChevronLeft = ChevronLeft protected readonly ChevronRight = ChevronRight protected readonly Pause = Pause protected readonly Play = Play protected readonly Quote = Quote protected readonly Star = Star @Input('class') className?: string protected readonly industryOptions = industryOptions readonly activeIndex = signal(0) readonly activeIndustry = signal<TestimonialsIndustry>('all') readonly isAutoPlaying = signal(true) private timer: ReturnType<typeof setInterval> | undefined constructor() { inject(DestroyRef).onDestroy(() => { if (this.timer) clearInterval(this.timer) }) this.startTimer() } readonly filteredTestimonials = computed(() => { const industry = this.activeIndustry() if (industry === 'all') return testimonials return testimonials.filter((t) => t.industry === industry) }) readonly activeTestimonial = computed(() => { const list = this.filteredTestimonials() return list[this.activeIndex()] ?? list[0]! }) get rootClass(): string { return cn('bg-background border-border relative w-full overflow-hidden border-y py-16 lg:py-24', this.className) } industryClass(id: TestimonialsIndustry): string { return cn( 'rounded-md px-3 py-1.5 text-xs font-medium transition-colors', this.activeIndustry() === id ? 'bg-background text-foreground font-semibold shadow-xs' : 'text-muted-foreground hover:text-foreground', ) } stars(count: number): number[] { return Array.from({ length: count }, (_, i) => i) } setIndustry(id: TestimonialsIndustry): void { this.activeIndustry.set(id) this.activeIndex.set(0) } next(): void { this.activeIndex.update((v) => (v + 1) % this.filteredTestimonials().length) } prev(): void { this.activeIndex.update((v) => (v - 1 + this.filteredTestimonials().length) % this.filteredTestimonials().length) } toggleAutoPlay(): void { this.isAutoPlaying.update((v) => !v) if (this.isAutoPlaying()) { this.startTimer() } else if (this.timer) { clearInterval(this.timer) } } private startTimer(): void { if (this.timer) clearInterval(this.timer) if (!this.isAutoPlaying()) return this.timer = setInterval(() => this.next(), 6500) } }src/app/components/blocks/testimonial/index.ts0.8 kB
export { UiTestimonialLogoQuoteRowComponent } from './testimonial-logo-quote-row.component' export { UiTestimonialMarqueeScrollComponent } from './testimonial-marquee-scroll.component' export { UiTestimonialMasonryVerifiedGridComponent, type TestimonialRoleFilter, type VerifiedTestimonial, } from './testimonial-masonry-verified-grid.component' export { UiTestimonialQuoteCarouselTelemetryComponent, type CaseStudy, type CaseStudyKpi, } from './testimonial-quote-carousel-telemetry.component' export { UiTestimonialSingleFeaturedComponent } from './testimonial-single-featured.component' export { UiTestimonialSocialCardsComponent } from './testimonial-social-cards.component' export { UiTestimonials01Component, type TestimonialsIndustry, type WorkbenchTestimonial, } from './testimonials-01.component'
Raw manifest:https://uipkge.dev/r/angular/testimonial.json