YouTip LogoYouTip

Ionic List

Lists are a widely used interface element, found in almost every mobile app. Lists can contain basic text, buttons, toggles, icons, and thumbnails. List items can be any HTML element. The container element needs the `list` class, and each list item needs the `item` class. `ionList` and `ionItem` easily support various interaction methods, such as swipe-to-edit, drag-to-reorder, and item deletion. ### Basic Usage:
  • ...
[Try it Β»](#) ### List Dividers We can use the `item-divider` class to create dividers for lists. By default, list items are distinguished by different background colors and bold text, but you can easily customize this.
Candy Bars
Butterfinger ...
[Try it Β»](#) * * * ## Lists with Icons We can specify icons on the left or right side of a list item. Use `item-icon-left` for an icon on the left, and `item-icon-right` for an icon on the right. If you need icons on both sides, add both classes. In the following example, we use `` tags in the list items, making each item clickable. When list items use `` or `
...
[Try it Β»](#) * * * ## Lists with Avatars Use `item-avatar` to create a list with avatars: [Try it Β»](#) * * * ## Thumbnail Lists The `item-thumbnail-left` class is used to add a left-aligned thumbnail, and the `item-thumbnail-right` class is used to add a right-aligned thumbnail. [Try it Β»](#) * * * ## Inset Lists We can embed lists within a container, and the list will not display at full width. The style for an inset list is `list list-inset`. The difference from a regular list is that it has a margin, similar to a tab. Inset lists have no shadow effect, which provides a better scrolling experience.
Raiders of the Lost Ark
...
[Try it Β»](#)
← Memcached Append DataIonic Header Footer β†’