ant-design/docs/pattern/list.en-US.md
henryv0 2356333c54 Updates Pattern docs (English) (#7902)
* Makes grammatical and typo fixes to the React Docs.

* Fixes some spelling and grammar in Pattern docs.

* Fixes merge conflict. Updates Pattern docs.
2017-10-16 21:17:42 +08:00

5.1 KiB

order title
3 List

Lists are very common UI elements which can be applied to various scenarios:

  • Get an overview
  • Browse item by item
  • Find specific list item
  • Sort and filter
  • Rearrange, add, delete or re-categorize list items

Interaction

Display Details

Popover Example

Popover: When a user clicks or hovers a link or piece of content, display a small amount of detailed information for the corresponding list item in a floating layer.


Embedding Example 1 Embedding Example 2 Embedding Example 3

Embedding: A user can directly view detailed information in the context via a click, without opening a new page or modal.


Modal Example

Modal: A user can view detailed information in a modal dialog via a click. But it loses the contextual/visual tie to the clicked list item, because, unlike popover and embedding, modal is usually presented in a fixed position regardless of the position of clicked list item.


Dual-Panel Selector Example

Dual-Panel Selector: A user can view a large amount of detailed information in a (usually right) panel beside the list.


Full-Window Example (No New Window) Full-Window Example (New Window)

Full-Window: A user can view a large amount of detailed information in current page. This mode loses contextual/visual tie to the clicked list item, however it is suitable for scenarios where detailed information is completely irrelevant, or screen size is small (i.e. mobile), or list and details are huge.

Display More Text

Text Wrap Example

Text Wrap: Expand certain list item into multi-line text.


Grid Example

Grid: Arrange list items in a grid or matrix where each item shares a similar visual weight.

Display Images

Carousel Example

Carousel: Display images in one dimension, scrolling of images can be triggered either manually by user or automatically by system.


Thumbnail Grid Example

Thumbnail Grid: Display images/icons in two dimensions, this approach has strong visual effects which attracts user attention.

Display Long List

Pagination: Load list in a sectioned way, user determines whether to load other list items.


Infinite Scrolling: When user reaches the bottom of the first section, load next section via listening to scroll event or a button click.

Display Categorized/Layered List

Two-Layer Collapse Multi-Layer Collapse Two-Layer Collapsible Table