Skip to content
caliper ui pro docs

Cover flow

Album-style covers that flip through in 3D.

Pro

Ridge lineNorth Slope

When to use

  • Browsing music or a small visual set.

When not to use

  • The set is large.
  • Details must be read.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/cover-flow

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

CoverFlow

7 props
PropTypeDefault
label *string—
covers *readonly Cover[]—
valuestring—
defaultValuestring—
onValueChange((id: string) => void)—
sizenumber168
classNamestring—

Keyboard

→
Moves to the next item or value.
←
Moves to the previous item or value.
Home
Jumps to the first item or the minimum.
End
Jumps to the last item or the maximum.

Accessibility

It exposes listbox and option semantics, with aria-label, aria-orientation, aria-selected, aria-hidden and aria-live kept in step with state. Changes that matter are announced through a live region.

Motion

  • State changes animate with the library's shared durations and curves, so its timing matches every other part.
  • Under reduced motion each change lands on its end state without movement; nothing is hidden or skipped.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/cover-flow.md

The index of every part is at /llms.txt.

More in Media viewers