A 3D scroll-driven collection viewer where items surf along a perspective track. Perfect for immersive showcases.
pnpm dlx shadcn@latest add @componentry/collection-surfer
items
Array of items to display. Each item must have id (number), image (string URL), and title (string).
CollectionItem[]
variant
Visual interaction style. 'magnetic' scales cards on hover, 'uplift' moves cards vertically, 'simple' has no hover effects.
"magnetic" | "uplift" | "simple"
"magnetic"
View source
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.
import { CollectionSurfer, CollectionItem } from "@/components/ui/collection-surfer"