Pinned Project Reel
The section pins to the viewport and your vertical scroll slides a film strip of project cards sideways, with a springy counter and progress line. Focusing a card scrolls the page to it; reduced motion becomes a plain snap scroller.
Try it: Scroll down — the reel pins and moves sideways; Tab through the cards.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/pinned-project-reel.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/pinned-project-reel. You can also copy the source into components/ui/pinned-project-reel.tsx (view on GitHub).
Usage
import { PinnedProjectReel } from '@/components/ui/pinned-project-reel'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
items | PortfolioProject[] | SAMPLE_PROJECTS (6) | Projects: { id, title, category, year, blurb, src?, seed?, href? }. |
scrollContainer | RefObject<HTMLElement> | — | Scrolling element (defaults to the window). |
height | number | string | '100svh' | Height of the pinned stage. |
heading | string | 'Selected work' | Intro panel title. |
onSelect | (project) => void | — | Fires when a card is activated. |
titleAs | 'h2' | 'h3' | 'h4' | 'h3' | Heading element for card titles. |
className | string | — | Extra classes merged onto the root. |
Dependencies
motionlucide-react
Related Portfolio components
- Big-Type Footer
A closing section built around one enormous word whose letters swell and lean toward the cursor, with a ticker, quiet link pills, a live local clock and back-to-top. Light paper / dark ink, never a…
- Kudos Wall
Praise cards drift past in three columns at different speeds and directions behind a soft fade mask, with underlined key phrases and a cheer toggle on every card. Hover or focus pauses; a Pause…
- 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.
- Scatter Desk Collage
A desk of rotated polaroids, sticky notes, UI clips, quote cards and a sticker that you can really move — the picked card straightens and lifts, arrow keys nudge, and “Tidy up” snaps everything to a…
- 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”.…
- Bento Profile Board
Your profile as a living dashboard: identity with a pulsing build status, an analogue clock that follows your time zone, weather glyph, now-playing equaliser, visitor odometer, activity strip, stack…