Data display
Detail list item
Detail list item: A list row combining a leading icon or avatar, a title and description, and a trailing action, for notification lists, menus, or settings rows.
Using Detail list item
Detail list item uses the card preview frame with a light/dark 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 |
|---|---|---|---|
variant | select | outline | Options: default, outline, muted |
size | select | default | Options: default, sm |
mediaVariant | select | icon | Options: none, icon, image |
accent | color | #7C5CFF | No additional limit in the metadata. |
Which frameworks are available for Detail list item?
Detail list item 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 Detail list item depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Detail list item?
The React source for Detail list item includes: native elements (button); attributes and handlers (aria-describedby, aria-hidden, aria-label); explicit roles (list, listitem). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Detail list item handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Detail list item's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.