Skip to main content

ListGroup

ListGroups are versatile components that can be used to display a list of items. They can be used in a variety of ways, including as a navigation menu, a checklist, or a simple list of items. Other components like Accordion and DragAndDrop can be used in conjunction with ListGroup to create more complex layouts.

Result
Loading...
Live Editor

Template, Header, and Body components

The contents of a ListGroupItem can have a lot of variability. The ListGroup.Item.Template, ListGroup.Item.Header, and ListGroup.Item.Body components can be used to help you build a list group item with render props for each section of the item.

Result
Loading...
Live Editor

More complex layouts

Result
Loading...
Live Editor

As a checklist

Result
Loading...
Live Editor

Analytics

The ListGroup component is trackable through Kyber Analytics. This is the default analytics config.

export default {
value: 'ListGroup',
actions: {
onItemClick: { type: 'LISTGROUP_ITEMCLICK', payload: 'Click' },
},
};

Props

ListGroup

ListGroupItem

ListGroupItemHeader

ListGroupItemBody

ListGroupItemContent