Dealer Deck Testimonials
Testimonials dealt like playing cards: the top card of a face-down deck slides across the table on a spring, flips face-up mid-flight and lands slightly askew on the pile. Take one back or gather the deck.
Try it: Click the deck or "Deal next"; ← → take back / deal.
Brings its own background. Paints its own linen (light) / ink (dark) table with grain via dark: variants; the card backs use accent. Restyle the frame with className.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/dealer-deck-testimonials.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/dealer-deck-testimonials. You can also copy the source into components/ui/dealer-deck-testimonials.tsx (view on GitHub).
Usage
import { DealerDeckTestimonials } from '@/components/ui/dealer-deck-testimonials'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | DealerTestimonial[] | DEFAULT_DEALER_TESTIMONIALS | { id, quote, name, role, rating?, src? } — src replaces the monogram avatar. |
title / titleAs | string / 'h2' | 'h3' | 'Dealt from real projects' | Heading above the table. |
accent | string | '#8c1230' | Card-back colour (gold guilloche on top). |
dealt / defaultDealt / onDealtChange | number | 1 | Controlled / uncontrolled number of dealt cards. |
Dependencies
motionlucide-react
Related Portfolio components
- Particle Mesh Gallery
An image-colored particle sphere unfolds into a portrait on tap and gathers back on double tap, with original landscape art and a quiet project index.
- Image Lens
A glass loupe that follows the pointer and magnifies the image beneath it: the rim refracts and fringes like real glass, the rest of the frame softly desaturates, and pinch, ctrl+wheel or a click…
- Project Reveal List
An editorial project index: rows dim their siblings and nudge on hover while a tilting preview chases the cursor on a spring and unmasks with a clip-path. Touch gets inline thumbnails.
- Discovery Scene
An illustrated desk (night in dark mode, daylight in light) with six hidden sparkles. Each find lights its object — lamp, steam, spinning record — reveals a fact, and counts toward “found 6 / 6”.…
- Project Filter Gallery
Category chips share a sliding pill (layout animation) while the grid reflows: survivors glide to new cells, newcomers bloom in blur-to-sharp. Announces the result count.
- Mini Desktop OS
A tiny windowed desktop for a portfolio: generated wallpaper, menu bar with a live clock, icon grid, draggable windows with close / minimise / maximise, and a dock. Keyboard-movable; sheets on phones.