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.
Try it: Hover rows — a preview follows the cursor; Tab to a row to anchor it.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/project-reveal-list.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/project-reveal-list. You can also copy the source into components/ui/project-reveal-list.tsx (view on GitHub).
Usage
import { ProjectRevealList } from '@/components/ui/project-reveal-list'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | PortfolioProject[] | SAMPLE_PROJECTS | Projects: { id, title, category, year, blurb, src?, seed?, tags?, role?, href? }. Without src, deterministic generated art is drawn from seed. |
onSelect | (project) => void | — | Fires when a row is activated. |
titleAs | 'h2' | 'h3' | 'h4' | 'p' | 'h3' | Heading element for item titles, so the page outline stays valid. |
className | string | — | Extra classes merged onto the root. |
Dependencies
motionlucide-react
Related Portfolio components
- 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.
- 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.
- Case Study Scroll
Problem → Process → Result as a scroll-driven story: a sticky rail fills as you read and lights the current chapter while chapters rise in with staggered key figures.
- 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…
- Before / After Slider
Drag, tap or use the arrow keys to wipe between two states. The knob stretches while held, the reveal edge glows and the handle sweeps once on first view.
- 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…