# `ShadcnUI.Components.Media.CoverFlow`
[🔗](https://github.com/pcharbon70/shadcn_ui/blob/main/lib/shadcn_ui/components/media/cover_flow.ex#L1)

Structured image figures over the complete native Carousel list and index.

Supply a unique `id`, exactly one `accessible_label`/`labelledby`, and nonempty
`images`: atom-keyed records with stable `key`, `src`, explicit `alt`, positive
intrinsic `width`/`height`, optional `name`, escaped `caption`, `href`, width
`srcset` candidates plus `sizes`, `loading` and `decoding`. Decorative images
need empty alt, `decorative: true` and an independent name. Applications own
sources, meaningful names, image rights and navigation. There is no fetching
or image processing in this package. Broken images retain alt and destinations.

`presentation: :enhanced` (default) only permits a CSS enhancement. Multiple
images, a container at least 40rem wide, joint native view timeline/range/scope
and 3D support, no forced colors and no motion suppression are required. Other
cases remain flat. `:flat` explicitly opts out. Only bounded images transform;
captions and ordinary named destination links remain outside the effect.

`snap`, `alignment`, names and description follow Carousel. Native scrolling,
fragment index and focus remain browser-owned. No selected image, autoplay,
drag/swipe handler, clones, generated controls or document-clock fallback.
Replacement may reset native position/focus; applications own restoration.

# `cover_flow`

Renders complete native figures with optional image-only depth.
## Attributes

* `id` (`:string`) (required)
* `accessible_label` (`:string`) - Defaults to `nil`.
* `labelledby` (`:string`) - Defaults to `nil`.
* `description` (`:string`) - Defaults to `nil`.
* `images` (`:list`) (required)
* `presentation` (`:atom`) - Defaults to `:enhanced`. Must be one of `:flat`, or `:enhanced`.
* `snap` (`:atom`) - Defaults to `:proximity`. Must be one of `:none`, `:proximity`, or `:mandatory`.
* `alignment` (`:atom`) - Defaults to `:start`. Must be one of `:start`, or `:center`.
* `motion` (`:atom`) - Defaults to `:system`. Must be one of `:system`, or `:none`.
* `class` (`:any`) - Defaults to `nil`.
* Global attributes are accepted.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
