Carousel
A horizontal row of comparable items with tall images, a save toggle, a rating and a meta row, with a fading edge and next button.
Display modes: inline, borderless · Source: MCP Apps for Claude kit · Inline carousel
Can you take care of this?
Here's what I found:
App
Inline height 0px fits
3–8 items (dev warning outside that range)
Next card peeks behind a fade
One action per card (save)
#Installation
To get started, add the component to your project via the shadcn CLI:
$npx shadcn@latest add https://mcpblocks.dev/r/carousel.jsonThis also installs host-tokens, adding Claude's CSS variables and utilities like bg-host-bg to your stylesheet.
#Basic example
import { Carousel } from "@/components/carousel"
<Carousel
label="Nearby hikes"
items={trails.map((t) => ({
id: t.id,
title: t.name,
subtitle: t.park,
image: t.photo,
rating: t.rating,
meta: [t.difficulty, t.distance],
saved: t.saved,
onSave: (saved) => app.callServerTool({ name: "save_trail", arguments: { id: t.id, saved } }),
}))}
/>#Component API
| Prop | Type | Description |
|---|---|---|
| items | CarouselItem[] | id, title, subtitle?, image?, rating?, meta?, saved?, onSave?, onClick? |
| cardWidth / imageHeight | number | Default 220 × 280, as in the kit. |
| label | string | Accessible name for the scroll region. |



