List groups are a flexible and powerful component for displaying a series of content. List group items can be modified and extended to support just about any content within. They can also be used as navigation with the right modifier class
Composable li element for a ul based list group
Opaque type representing a list item in a ul based list group
Create a custom List group
ListGroup.custom
[ ListGroup.button
[ ListGroup.attr <| onClick "MyItem1Msg"
, ListGroup.info
]
[ text "List item 1" ]
, ListGroup.button
[ ListGroup.attr <| onClick "MyItem2Msg"
, ListGroup.warning
]
[ text "List item 2" ]
]Create a composable anchor list item for use in a custom list
options List of options to configure the list itemchildren List of child elementsCreate a composable button list item for use in a custom list
options List of options to configure the list itemchildren List of child elementsOpaque type representing an item in a custom list group
Option to style a list item with success colors
Option to style a list item with info colors
Option to style a list item with warning colors
Option to style a list item with danger colors
Option to mark a list item as active
Option to disable a list item
Use this function to supply any additional Hmtl.Attribute you need for your list items
Opaque type representing configuration options for a list item
A simple list group based on a ul element