Media
Experience Shelf
Experience Shelf: A horizontally scrolling shelf of photo cards, each with a save button, badge, rating and price, that scrolls smoothly with arrow buttons or a swipe.
Using Experience Shelf
Experience Shelf uses the wide preview frame with a light theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
itemCount | number | 6 | From 4 to 8; step 1 |
accentColor | color | #FF4D8D | No additional limit in the metadata. |
currency | select | $ | Options: $, €, £ |
showRatings | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Experience Shelf?
Experience Shelf is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Experience Shelf depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Experience Shelf?
The React source for Experience Shelf includes: native elements (a, button); attributes and handlers (aria-hidden, aria-label, aria-labelledby, aria-pressed). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Experience Shelf handle reduced motion?
Experience Shelf reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Preference-dependent expressions in index.tsx: behavior: reduced ? "auto" : "smooth". Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.