List
A flexible component for rendering data as simple or complex list items.
When to Use
- To display a collection of similar items (articles, contacts, tasks)
- When items need a consistent layout with avatar, title, and description
- For paginated data feeds
Import
Examples
Basic
With Meta
Sizes
API
ListProps
dataSource—any[]— Data arrayrenderItem—(item, index) => ReactNode— Item render functionheader—ReactNode— List headerfooter—ReactNode— List footerbordered—boolean— Show border (default:false)loading—boolean— Show loading statepagination—false | PaginationProps— Pagination configsize—"default" | "large" | "small"— List sizegrid—{ column, gutter, xs, sm, md, lg, xl, xxl }— Grid layout configitemLayout—"horizontal" | "vertical"— Item layout direction (default:"horizontal")split—boolean— Show dividers between items (default:true)rowKey—string | (item) => string— Row key
List.Item Props
actions—ReactNode[]— Action elementsextra—ReactNode— Extra content area
List.Item.Meta Props
avatar—ReactNode— Avatar elementtitle—ReactNode— Item titledescription—ReactNode— Item description