List view
A short list of rich rows (messages, tickets, search results) with avatars, metadata and a footer link to the rest.
Display modes: inline · Source: MCP Apps for Claude kit · Inline card / List views
Can you take care of this?
Here's what I found:
App
- Sarah Chen#designNov 12I think the onboarding flow needs to start with the value prop before asking for permissions. Users are dropping off at step 2 because we're hitting them with the notification prompt too early.
- Marcus Johnson#designNov 12Agreed on the permissions issue. I mocked up an alternative where we delay the notification prompt until after they complete their first task
- Emily Rodriguez#designNov 13Here are the updated onboarding screens with the new copy from content team. Let me know if the flow makes more sense now.
- Sarah Chen#design-critiquesNov 15Quick update: we tested the revised onboarding with 5 users yesterday. Completion rate improved from 34% to 67%
Showing 4 of 12 resultsView in App
Inline height 0px fits
4–5 rows inline, link to the rest
Rows clamp to two lines
Footer link opens your app or fullscreen
#Installation
To get started, add the component to your project via the shadcn CLI:
$npx shadcn@latest add https://mcpblocks.dev/r/list-view.jsonThis also installs host-tokens, adding Claude's CSS variables and utilities like bg-host-bg to your stylesheet.
#Basic example
import { ListView } from "@/components/list-view"
<ListView
items={messages.map((m) => ({
id: m.id,
initials: m.author.initials,
title: m.author.name,
meta: m.channel,
timestamp: m.date,
body: m.text,
}))}
summary={`Showing 4 of ${total} results`}
viewAll={{ label: "View in App", onClick: () => app.requestDisplayMode({ mode: "fullscreen" }) }}
/>#Component API
| Prop | Type | Description |
|---|---|---|
| items | ListViewItem[] | id, initials, avatarColor?, title, meta?, timestamp?, body?, onClick? |
| summary | string | Footer text, e.g. "Showing 4 of 12 results". |
| viewAll | { label, href?, onClick? } | Footer link to the full list. |