
3D Extruded Buildings & Urban Footprints
Real-world 3D building extrusions with dynamic sunlight shadows, terrain DEM elevations, and pitch/bearing camera controls.
Testimonial 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.
Also available for Vue ->$pnpm dlx shadcn@latest add https://uipkge.dev/r/react/testimonial.json$npx shadcn@latest add https://uipkge.dev/r/react/testimonial.json$yarn dlx shadcn@latest add https://uipkge.dev/r/react/testimonial.json$bunx shadcn@latest add https://uipkge.dev/r/react/testimonial.jsonnpx shadcn@latest add @uipkge-react/testimonialInstalls to:components/blocks/testimonial/Type aliases exported from this item's source. Use these to shape the data you pass in.
Testimonialinterface Testimonial {
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
}CaseStudyinterface CaseStudy {
id: string
company: string
industry: string
quote: string
authorName: string
authorRole: string
avatar: string
kpis: {
label: string
value: string
delta: string
}[]
architectureSummary: string
}'use client'
import { Avatar, AvatarFallback } from '@/components/ui/avatar'
import { Separator } from '@/components/ui/separator'
// 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 = [
{
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',
},
]
export function TestimonialLogoQuoteRow() {
return (
<section data-slot="testimonial-logo-quote-row" className="bg-background">
<div className="mx-auto max-w-6xl px-6 py-16">
<div className="grid gap-8 md:grid-cols-3 md:gap-10">
{quotes.map((entry, index) => (
<figure key={entry.wordmark} className="relative">
<span className="text-sm font-semibold tracking-[0.18em] uppercase">{entry.wordmark}</span>
<blockquote className="mt-4 text-sm leading-relaxed text-pretty">“{entry.quote}”</blockquote>
<figcaption className="mt-5 flex items-center gap-3">
<Avatar className="size-8">
<AvatarFallback className="text-xs">{entry.initials}</AvatarFallback>
</Avatar>
<div className="min-w-0">
<p className="truncate text-xs font-medium">{entry.author}</p>
<p className="text-muted-foreground truncate text-xs">{entry.role}</p>
</div>
</figcaption>
{/* Vertical rules between columns only, so the row reads as one band. */}
{index < quotes.length - 1 && (
<Separator orientation="vertical" className="absolute top-0 -right-5 hidden h-full md:block" />
)}
</figure>
))}
</div>
</div>
</section>
)
}
'use client'
import { Avatar, AvatarFallback } from '@/components/ui/avatar'
import { Badge } from '@/components/ui/badge'
import { Card, CardContent } from '@/components/ui/card'
const quotes = [
{ 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' },
]
const rows = [quotes.slice(0, 4), quotes.slice(4)]
export function TestimonialMarqueeScroll() {
return (
<section data-slot="testimonial-marquee-scroll" className="bg-background overflow-hidden">
<div className="mx-auto max-w-6xl px-6 pt-20 lg:pt-28">
<div className="max-w-2xl">
<Badge variant="secondary">What people say</Badge>
<h2 className="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 className="marquee relative mt-10 space-y-4 pb-20 lg:pb-28">
{rows.map((row, index) => (
<div key={index} className="marquee__row">
<div className={`marquee__track ${index === 1 ? 'marquee__track--reverse' : ''}`}>
{/* Duplicated once so the loop has an identical second half to scroll into. */}
{[...row, ...row].map((entry, i) => (
<Card key={`${entry.author}-${i}`} className="w-80 shrink-0">
<CardContent className="p-5">
<blockquote className="text-sm leading-relaxed">“{entry.quote}”</blockquote>
<div className="mt-4 flex items-center gap-3">
<Avatar className="size-8">
<AvatarFallback className="text-xs">{entry.initials}</AvatarFallback>
</Avatar>
<div className="min-w-0">
<p className="truncate text-xs font-medium">{entry.author}</p>
<p className="text-muted-foreground truncate text-xs">{entry.role}</p>
</div>
</div>
</CardContent>
</Card>
))}
</div>
</div>
))}
</div>
{/* Keyframes and the edge mask cannot be expressed as utilities; everything
else stays in the markup. Matches logo-ticker-infinite. */}
<style>{`
@keyframes marquee-scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
[data-slot="testimonial-marquee-scroll"] .marquee {
mask-image: linear-gradient(to right, transparent, black 6rem, black calc(100% - 6rem), transparent);
}
[data-slot="testimonial-marquee-scroll"] .marquee__row { overflow: hidden; }
[data-slot="testimonial-marquee-scroll"] .marquee__track {
display: flex;
width: max-content;
gap: 1rem;
animation: marquee-scroll 46s linear infinite;
}
[data-slot="testimonial-marquee-scroll"] .marquee__track--reverse { animation-direction: reverse; }
[data-slot="testimonial-marquee-scroll"] .marquee__row:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
[data-slot="testimonial-marquee-scroll"] .marquee__track { animation: none; }
[data-slot="testimonial-marquee-scroll"] .marquee__row { overflow-x: auto; }
}
`}</style>
</section>
)
}
'use client'
import * as React from 'react'
import { CheckCircle2, Star } from 'lucide-react'
import { Badge } from '@/components/ui/badge'
import { Card } from '@/components/ui/card'
import { cn } from '@/lib/utils'
type RoleFilter = 'all' | 'frontend' | 'founder' | 'design-eng'
interface Testimonial {
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: Testimonial[] = [
{
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,
},
]
export interface TestimonialMasonryVerifiedGridProps {
className?: string
}
export function TestimonialMasonryVerifiedGrid({ className }: TestimonialMasonryVerifiedGridProps) {
const [activeFilter, setActiveFilter] = React.useState<RoleFilter>('all')
const filteredTestimonials = React.useMemo(() => {
if (activeFilter === 'all') return testimonials
return testimonials.filter((t) => t.roleCategory === activeFilter)
}, [activeFilter])
return (
<section
data-slot="testimonial-masonry-verified-grid"
className={cn('bg-background relative overflow-hidden px-4 py-16 sm:px-6 sm:py-24 lg:px-8', className)}
>
<div className="mx-auto max-w-7xl space-y-12">
{/* Section Header */}
<div className="mx-auto max-w-3xl space-y-4 text-center">
<Badge variant="secondary" className="gap-1.5 px-3 py-1 font-mono text-xs shadow-xs">
<Star className="fill-warning text-warning size-3.5" />
Verified Engineer Endorsements
</Badge>
<h2 className="text-foreground text-3xl font-bold tracking-tight sm:text-4xl">
Loved by design engineers and CTOs worldwide.
</h2>
<p className="text-muted-foreground text-base">
Real feedback from engineers who dumped monolithic npm packages for unbundled code ownership.
</p>
{/* Category Filters */}
<div className="flex flex-wrap items-center justify-center gap-2 pt-2">
<button
type="button"
className={cn(
'rounded-lg border px-3.5 py-1 font-mono text-xs transition-colors',
activeFilter === 'all'
? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs'
: 'border-border bg-card text-muted-foreground hover:text-foreground',
)}
onClick={() => setActiveFilter('all')}
>
All Perspectives ({testimonials.length})
</button>
<button
type="button"
className={cn(
'rounded-lg border px-3.5 py-1 font-mono text-xs transition-colors',
activeFilter === 'design-eng'
? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs'
: 'border-border bg-card text-muted-foreground hover:text-foreground',
)}
onClick={() => setActiveFilter('design-eng')}
>
Design Engineers
</button>
<button
type="button"
className={cn(
'rounded-lg border px-3.5 py-1 font-mono text-xs transition-colors',
activeFilter === 'frontend'
? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs'
: 'border-border bg-card text-muted-foreground hover:text-foreground',
)}
onClick={() => setActiveFilter('frontend')}
>
Frontend Architects
</button>
<button
type="button"
className={cn(
'rounded-lg border px-3.5 py-1 font-mono text-xs transition-colors',
activeFilter === 'founder'
? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs'
: 'border-border bg-card text-muted-foreground hover:text-foreground',
)}
onClick={() => setActiveFilter('founder')}
>
CTOs & Founders
</button>
</div>
</div>
{/* Masonry Grid (3 Columns) */}
<div className="grid grid-cols-1 items-start gap-6 md:grid-cols-2 lg:grid-cols-3">
{filteredTestimonials.map((t) => (
<Card
key={t.id}
className="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 className="flex items-start justify-between gap-3">
<div className="flex items-center gap-3">
<img
src={t.avatar}
alt={t.name}
className="border-border size-10 shrink-0 rounded-full border object-cover"
/>
<div className="min-w-0">
<div className="flex items-center gap-1.5">
<h4 className="text-foreground truncate font-mono text-xs font-bold">{t.name}</h4>
<CheckCircle2 className="text-info size-3.5 shrink-0" />
</div>
<p className="text-muted-foreground truncate text-xs">
{t.role} • {t.company}
</p>
</div>
</div>
<Badge variant="outline" className="text-muted-foreground shrink-0 font-mono text-xs">
{t.verifiedSource}
</Badge>
</div>
{/* Quote text */}
<p className="text-foreground/90 text-xs leading-relaxed italic sm:text-sm">“{t.quote}”</p>
{/* Footer Row: Star Rating & Impact Metric Badge */}
<div className="border-border/60 flex flex-wrap items-center justify-between gap-2 border-t pt-3">
<div className="flex items-center gap-0.5">
{Array.from({ length: t.starCount }).map((_, s) => (
<Star key={s} className="fill-warning text-warning size-3.5" />
))}
</div>
{t.metricBadge && (
<Badge variant="outline" className="border-success/20 bg-success/10 text-success font-mono text-xs">
{t.metricBadge}
</Badge>
)}
</div>
</Card>
))}
</div>
</div>
</section>
)
}
export default TestimonialMasonryVerifiedGrid
'use client'
import * as React from 'react'
import { Building2, CheckCircle2, ChevronLeft, ChevronRight, TrendingUp, Zap } from 'lucide-react'
import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import { Card } from '@/components/ui/card'
import { cn } from '@/lib/utils'
interface CaseStudy {
id: string
company: string
industry: string
quote: string
authorName: string
authorRole: string
avatar: string
kpis: {
label: string
value: string
delta: string
}[]
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.',
},
]
export interface TestimonialQuoteCarouselTelemetryProps {
className?: string
}
export function TestimonialQuoteCarouselTelemetry({ className }: TestimonialQuoteCarouselTelemetryProps) {
const [activeIndex, setActiveIndex] = React.useState(0)
const nextSlide = () => {
setActiveIndex((prev) => (prev + 1) % caseStudies.length)
}
const prevSlide = () => {
setActiveIndex((prev) => (prev - 1 + caseStudies.length) % caseStudies.length)
}
const currentStudy = caseStudies[activeIndex]
return (
<section
data-slot="testimonial-quote-carousel-telemetry"
className={cn('bg-background relative overflow-hidden px-4 py-16 sm:px-6 sm:py-24 lg:px-8', className)}
>
<div className="mx-auto max-w-6xl space-y-12">
{/* Section Header */}
<div className="mx-auto max-w-3xl space-y-4 text-center">
<Badge variant="secondary" className="gap-1.5 px-3 py-1 font-mono text-xs shadow-xs">
<TrendingUp className="text-primary size-3.5" />
Enterprise Customer Impact
</Badge>
<h2 className="text-foreground text-3xl font-bold tracking-tight sm:text-4xl">
Quantifiable ROI and architectural case studies.
</h2>
<p className="text-muted-foreground text-base">
See how leading engineering teams transformed their frontend velocity with unbundled code.
</p>
{/* Company Tabs */}
<div className="flex flex-wrap items-center justify-center gap-2 pt-2">
{caseStudies.map((study, idx) => (
<button
key={study.id}
type="button"
className={cn(
'flex items-center gap-1.5 rounded-lg border px-3.5 py-1.5 font-mono text-xs transition-colors',
activeIndex === idx
? 'border-primary bg-primary text-primary-foreground font-semibold shadow-xs'
: 'border-border bg-card text-muted-foreground hover:text-foreground',
)}
onClick={() => setActiveIndex(idx)}
>
<Building2 className="size-3.5" />
<span>{study.company}</span>
</button>
))}
</div>
</div>
{/* Spotlight Workbench Card (Split-Pane) */}
<Card className="border-border bg-card/95 relative overflow-hidden rounded-3xl p-6 text-left shadow-sm sm:p-10">
<div className="grid grid-cols-1 items-center gap-8 lg:grid-cols-12">
{/* Left Column: Quote & Executive Info (7 Cols) */}
<div className="space-y-6 lg:col-span-7">
<div className="flex items-center gap-2">
<Badge variant="outline" className="text-primary bg-primary/10 border-primary/20 font-mono text-xs">
{currentStudy.industry}
</Badge>
</div>
{/* Quote */}
<blockquote className="text-foreground text-lg leading-relaxed font-medium sm:text-xl">
“{currentStudy.quote}”
</blockquote>
{/* Author info */}
<div className="flex items-center gap-4 pt-2">
<img
src={currentStudy.avatar}
alt={currentStudy.authorName}
className="border-border size-12 shrink-0 rounded-full border object-cover shadow-sm"
/>
<div>
<h4 className="text-foreground font-mono text-sm font-bold">{currentStudy.authorName}</h4>
<p className="text-muted-foreground text-xs">
{currentStudy.authorRole} • {currentStudy.company}
</p>
</div>
</div>
{/* Navigation Controls */}
<div className="border-border/60 flex items-center gap-2 border-t pt-4">
<Button size="sm" variant="outline" className="size-9 rounded-lg p-0" onClick={prevSlide}>
<ChevronLeft className="size-4" />
</Button>
<Button size="sm" variant="outline" className="size-9 rounded-lg p-0" onClick={nextSlide}>
<ChevronRight className="size-4" />
</Button>
<span className="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 className="bg-muted/40 border-border space-y-6 rounded-2xl border p-6 lg:col-span-5">
<div className="border-border flex items-center justify-between border-b pb-3">
<h4 className="text-foreground flex items-center gap-1.5 font-mono text-xs font-bold">
<Zap className="text-warning size-3.5" />
Verified Impact Telemetry
</h4>
<Badge variant="outline" className="border-success/20 text-success font-mono text-xs">
Post-Audit
</Badge>
</div>
{/* 3 KPI Cards */}
<div className="grid grid-cols-1 gap-3">
{currentStudy.kpis.map((kpi, kIdx) => (
<div
key={kIdx}
className="border-border/80 bg-card flex items-center justify-between rounded-xl border p-3.5 font-mono"
>
<div>
<div className="text-muted-foreground text-xs">{kpi.label}</div>
<div className="text-success text-xs font-semibold">{kpi.delta}</div>
</div>
<div className="text-foreground text-xl font-bold">{kpi.value}</div>
</div>
))}
</div>
{/* Architecture summary */}
<div className="text-muted-foreground flex items-start gap-2 pt-2 font-mono text-xs">
<CheckCircle2 className="text-primary mt-0.5 size-4 shrink-0" />
<span>{currentStudy.architectureSummary}</span>
</div>
</div>
</div>
</Card>
</div>
</section>
)
}
export default TestimonialQuoteCarouselTelemetry
'use client'
import { ArrowRight } from 'lucide-react'
import { Avatar, AvatarFallback } from '@/components/ui/avatar'
import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import { Separator } from '@/components/ui/separator'
export function TestimonialSingleFeatured() {
return (
<section data-slot="testimonial-single-featured" className="bg-background">
<div className="mx-auto max-w-5xl px-6 py-20 lg:py-28">
<Badge variant="secondary">Customer</Badge>
{/* 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 className="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 className="mt-10 grid gap-8 sm:grid-cols-[1fr_auto] sm:items-center">
<div className="flex items-center gap-4">
<Avatar className="size-12">
<AvatarFallback>EW</AvatarFallback>
</Avatar>
<div>
<p className="font-medium">Erin Walsh</p>
<p className="text-muted-foreground text-sm">VP Finance · Northwind Logistics</p>
</div>
<Separator orientation="vertical" className="ml-2 hidden h-10 sm:block" />
<span className="hidden text-sm font-semibold tracking-[0.18em] uppercase sm:inline">Northwind</span>
</div>
<div className="sm:text-right">
<p className="font-display text-3xl font-bold tracking-tight">5 days</p>
<p className="text-muted-foreground mt-1 text-sm">off the monthly close</p>
</div>
</div>
<Separator className="my-10" />
<div className="flex flex-wrap items-center justify-between gap-4">
<p className="text-muted-foreground text-sm">Freight forwarding · 1,200 staff · live since Q1 2026</p>
<Button variant="outline">
Read the full story
<ArrowRight className="ml-2 size-4" aria-hidden="true" />
</Button>
</div>
</div>
</section>
)
}
'use client'
import { Heart, MessageCircle, Repeat2 } from 'lucide-react'
import { Avatar, AvatarFallback } from '@/components/ui/avatar'
import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import { Card, CardContent } from '@/components/ui/card'
// Written as posts, not polished quotes — the lowercase, the caveats, and the
// specific numbers are what make them read as real.
const posts = [
{
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,
},
]
export function TestimonialSocialCards() {
return (
<section data-slot="testimonial-social-cards" className="bg-background">
<div className="mx-auto max-w-6xl px-6 py-20 lg:py-28">
<div className="max-w-2xl">
<Badge variant="secondary">In the wild</Badge>
<h2 className="mt-4 text-3xl font-semibold tracking-tight sm:text-4xl">Posted without being asked</h2>
<p className="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 className="mt-10 gap-4 sm:columns-2 lg:columns-3">
{posts.map((post) => (
<Card key={post.handle} className="mb-4 break-inside-avoid">
<CardContent className="p-5">
<div className="flex items-center gap-3">
<Avatar className="size-9">
<AvatarFallback className="text-xs">{post.initials}</AvatarFallback>
</Avatar>
<div className="min-w-0">
<p className="truncate text-sm font-medium">{post.name}</p>
<p className="text-muted-foreground truncate text-xs">
{post.handle} · {post.when}
</p>
</div>
</div>
<p className="mt-3 text-sm leading-relaxed">{post.body}</p>
<div className="text-muted-foreground mt-4 flex items-center gap-5 text-xs">
<Button variant="ghost" size="sm" className="h-auto gap-1.5 px-1.5 py-1 text-xs font-normal">
<MessageCircle className="size-3.5" aria-hidden="true" />
{post.replies}
</Button>
<Button variant="ghost" size="sm" className="h-auto gap-1.5 px-1.5 py-1 text-xs font-normal">
<Repeat2 className="size-3.5" aria-hidden="true" />
{post.reposts}
</Button>
<Button variant="ghost" size="sm" className="h-auto gap-1.5 px-1.5 py-1 text-xs font-normal">
<Heart className="size-3.5" aria-hidden="true" />
{post.likes}
</Button>
</div>
</CardContent>
</Card>
))}
</div>
</div>
</section>
)
}
'use client'
import * as React from 'react'
import { BadgeCheck, CheckCircle2, ChevronLeft, ChevronRight, Pause, Play, Quote, Star } from 'lucide-react'
import { Badge } from '@/components/ui/badge'
import { Button } from '@/components/ui/button'
import { Card } from '@/components/ui/card'
import { cn } from '@/lib/utils'
interface Testimonial {
id: string
name: string
role: string
company: string
industry: 'saas' | 'healthtech' | 'fintech' | 'devtools'
initials: string
avatarBg: string
quote: string
subquote: string
rating: number
verifiedBadge: string
metrics: { label: string; value: string; trend: string }[]
stack: string[]
}
const testimonials: Testimonial[] = [
{
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'],
},
]
export function Testimonials01() {
const [activeIndex, setActiveIndex] = React.useState(0)
const [activeIndustry, setActiveIndustry] = React.useState<'all' | 'saas' | 'healthtech' | 'fintech' | 'devtools'>(
'all',
)
const [isAutoPlaying, setIsAutoPlaying] = React.useState(true)
const filteredTestimonials = React.useMemo(() => {
if (activeIndustry === 'all') return testimonials
return testimonials.filter((t) => t.industry === activeIndustry)
}, [activeIndustry])
const next = React.useCallback(() => {
setActiveIndex((prev) => (prev + 1) % filteredTestimonials.length)
}, [filteredTestimonials.length])
const prev = React.useCallback(() => {
setActiveIndex((prev) => (prev - 1 + filteredTestimonials.length) % filteredTestimonials.length)
}, [filteredTestimonials.length])
React.useEffect(() => {
if (!isAutoPlaying) return
const timer = setInterval(() => {
next()
}, 6500)
return () => clearInterval(timer)
}, [isAutoPlaying, next])
const activeTestimonial = filteredTestimonials[activeIndex] ?? filteredTestimonials[0]
return (
<section
data-slot="testimonials-01"
className="bg-background border-border relative w-full overflow-hidden border-y py-16 lg:py-24"
>
<div className="mx-auto max-w-7xl space-y-12 px-4 sm:px-6 lg:px-8">
{/* Section Header */}
<div className="flex flex-col gap-6 md:flex-row md:items-end md:justify-between">
<div className="max-w-2xl space-y-3">
<div className="inline-flex items-center gap-2">
<Badge
variant="outline"
className="border-primary/30 text-primary bg-primary/5 gap-1.5 px-2.5 py-1 font-mono text-xs tracking-wide uppercase"
>
<BadgeCheck className="size-3.5" />
Verified Case Studies
</Badge>
<span className="text-muted-foreground font-mono text-xs">Real-World Customer Telemetry</span>
</div>
<h2 className="text-foreground text-3xl font-bold tracking-tight sm:text-4xl">
Trusted by the Teams Building the Future.
</h2>
<p className="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 className="bg-muted/60 border-border flex flex-wrap items-center gap-1.5 rounded-lg border p-1">
{[
{ id: 'all', label: 'All Industries' },
{ id: 'saas', label: 'Enterprise SaaS' },
{ id: 'healthtech', label: 'HealthTech' },
{ id: 'devtools', label: 'Developer DX' },
{ id: 'fintech', label: 'FinTech' },
].map((cat) => (
<button
key={cat.id}
type="button"
className={cn(
'rounded-md px-3 py-1.5 text-xs font-medium transition-colors',
activeIndustry === cat.id
? 'bg-background text-foreground font-semibold shadow-xs'
: 'text-muted-foreground hover:text-foreground',
)}
onClick={() => {
setActiveIndustry(cat.id as any)
setActiveIndex(0)
}}
>
{cat.label}
</button>
))}
</div>
</div>
{/* Featured Testimonial Canvas */}
<Card className="bg-card border-border overflow-hidden shadow-md">
<div className="grid grid-cols-1 lg:grid-cols-12">
{/* Left Main Quote Area (7 cols) */}
<div className="flex flex-col justify-between space-y-8 p-6 sm:p-10 lg:col-span-7">
<div className="space-y-6">
{/* Rating & Badge */}
<div className="flex flex-wrap items-center justify-between gap-3">
<div className="text-warning flex items-center gap-1">
{Array.from({ length: activeTestimonial.rating }).map((_, s) => (
<Star key={s} className="fill-warning size-4" />
))}
</div>
<Badge
variant="outline"
className="border-success/20 bg-success/10 text-success gap-1.5 font-mono text-xs"
>
<CheckCircle2 className="size-3" />
{activeTestimonial.verifiedBadge}
</Badge>
</div>
{/* Quote Content */}
<div className="relative space-y-3">
<Quote className="text-primary/20 absolute -top-4 -left-3 -z-10 size-8" />
<p className="text-foreground text-xl leading-relaxed font-medium tracking-tight sm:text-2xl">
“{activeTestimonial.quote}”
</p>
<p className="text-muted-foreground text-sm leading-relaxed">{activeTestimonial.subquote}</p>
</div>
</div>
{/* Author Info & Controls */}
<div className="border-border flex flex-col justify-between gap-4 border-t pt-6 sm:flex-row sm:items-center">
<div className="flex items-center gap-3.5">
<div
className={cn(
'flex size-11 items-center justify-center rounded-full border text-sm font-bold',
activeTestimonial.avatarBg,
)}
>
{activeTestimonial.initials}
</div>
<div>
<h4 className="text-foreground text-sm font-semibold">{activeTestimonial.name}</h4>
<p className="text-muted-foreground text-xs">
{activeTestimonial.role} ·{' '}
<span className="text-foreground font-medium">{activeTestimonial.company}</span>
</p>
</div>
</div>
{/* Navigation Buttons */}
<div className="flex items-center gap-2">
<Button
variant="outline"
size="icon"
className="size-8 rounded-lg"
aria-label="Previous customer story"
onClick={prev}
>
<ChevronLeft className="size-4" />
</Button>
<Button
variant="outline"
size="icon"
className="size-8 rounded-lg"
aria-label={isAutoPlaying ? 'Pause rotation' : 'Resume rotation'}
onClick={() => setIsAutoPlaying(!isAutoPlaying)}
>
{isAutoPlaying ? <Pause className="text-primary size-3.5" /> : <Play className="size-3.5" />}
</Button>
<Button
variant="outline"
size="icon"
className="size-8 rounded-lg"
aria-label="Next customer story"
onClick={next}
>
<ChevronRight className="size-4" />
</Button>
</div>
</div>
</div>
{/* Right Telemetry & Metrics Sidebar (5 cols) */}
<div className="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 className="space-y-4">
<div className="flex items-center justify-between">
<span className="text-muted-foreground font-mono text-xs tracking-wider uppercase">
Impact Telemetry
</span>
<span className="text-success font-mono text-xs">Production Validated</span>
</div>
{/* Metrics Grid */}
<div className="space-y-3">
{activeTestimonial.metrics.map((m) => (
<div
key={m.label}
className="border-border bg-card/80 flex items-center justify-between rounded-lg border p-3.5 shadow-xs"
>
<div>
<p className="text-muted-foreground text-xs">{m.label}</p>
<p className="text-foreground mt-0.5 text-lg font-bold tracking-tight">{m.value}</p>
</div>
<Badge variant="secondary" className="bg-success/10 text-success font-mono text-xs font-semibold">
{m.trend}
</Badge>
</div>
))}
</div>
{/* Stack Tags */}
<div className="space-y-2 pt-2">
<p className="text-muted-foreground font-mono text-xs tracking-wider uppercase">
Tech Stack Architecture
</p>
<div className="flex flex-wrap gap-1.5">
{activeTestimonial.stack.map((tech) => (
<Badge key={tech} variant="outline" className="bg-background font-mono text-xs">
{tech}
</Badge>
))}
</div>
</div>
</div>
{/* Story Navigation Dots */}
<div className="border-border/60 flex items-center justify-between border-t pt-4">
<div className="flex items-center gap-1.5">
{filteredTestimonials.map((t, i) => (
<button
key={t.id}
type="button"
aria-label={`Jump to testimonial ${i + 1}`}
className={cn(
'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',
)}
onClick={() => setActiveIndex(i)}
/>
))}
</div>
<span className="text-muted-foreground font-mono text-xs">
{activeIndex + 1} of {filteredTestimonials.length} Stories
</span>
</div>
</div>
</div>
</Card>
</div>
</section>
)
}
export default Testimonials01
Raw manifest:https://uipkge.dev/r/react/testimonial.json