OPUS/UI

Navigation

Coverflow

Classic coverflow with reflections — click, drag, swipe, wheel or arrow keys. Exposes listbox semantics.

css-3dkeyboardwheel2 files · 114 locdeps: clsx, tailwind-merge
Neon TidesNeon Tides
Ember HymnsEmber Hymns
Coral StaticCoral Static
Night BloomNight Bloom
Blue HoursBlue Hours
Field NotesField Notes
Violet RoomsViolet Rooms
Red ShiftRed Shift
Grey MatterGrey Matter
GlacierGlacier

Installation

With the shadcn CLI, pointing at this platform’s registry:

npx shadcn@latest add https://opusui.131199999.xyz/r/coverflow.json

Or offline, straight from your opus55 checkout (copies every file it needs):

node ../tailwind_component/opus55/scripts/add.mjs coverflow

Usage

import { Coverflow } from "@/components/opus/three/coverflow";

<Coverflow initial={2}>{covers}</Coverflow>

API

PropTypeDefaultDescription
initialnumber0Starting index.
itemWidthnumber220Cover size (px).
angle / spacingnumber55 / 0.42Side rotation and spread.
onChange(i: number) => void—Active index changed.

Command palette