List Group Item (list_group_item)

List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within.

🔗 External documentation.

ID Label Description Schema
content Content Plain text, or any kind of content.
url URL
                        type: string
format: uri-reference

                      
active Active? Indicate the current active selection.
                        type: boolean

                      
disabled Disabled? Make it appear disabled. Note that some elements with .disabled will also require custom JavaScript to fully disable their click events (e.g., links).
                        type: boolean

                      
            id: list_group_item
label: 'List Group Item'
description: 'List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within. '
homepage: 'https://getbootstrap.com/docs/4.6/components/list-group/'
variants:
    primary:
        id: primary
        label: Primary
    secondary:
        id: secondary
        label: Secondary
    success:
        id: success
        label: Success
    danger:
        id: danger
        label: Danger
    warning:
        id: warning
        label: Warning
    info:
        id: info
        label: Info
    light:
        id: light
        label: Light
    dark:
        id: dark
        label: Dark
slots:
    content:
        id: content
        label: Content
        description: 'Plain text, or any kind of content.'
props:
    url:
        id: url
        label: URL
        schema:
            type: string
            format: uri-reference
    active:
        id: active
        label: 'Active?'
        description: 'Indicate the current active selection.'
        schema:
            type: boolean
    disabled:
        id: disabled
        label: 'Disabled?'
        description: 'Make it appear disabled. Note that some elements with .disabled will also require custom JavaScript to fully disable their click events (e.g., links).'
        schema:
            type: boolean
examples:
    preview:
        id: preview
        label: Preview
        renderable:
            '@component': list_group_item
            content: 'An item'

          

Primary ( primary )

An item
<span class="list-group-item-primary list-group-item">An item</span>

Secondary ( secondary )

An item
<span class="list-group-item-secondary list-group-item">An item</span>

Success ( success )

An item
<span class="list-group-item-success list-group-item">An item</span>

Danger ( danger )

An item
<span class="list-group-item-danger list-group-item">An item</span>

Warning ( warning )

An item
<span class="list-group-item-warning list-group-item">An item</span>

Info ( info )

An item
<span class="list-group-item-info list-group-item">An item</span>

Light ( light )

An item
<span class="list-group-item-light list-group-item">An item</span>

Dark ( dark )

An item
<span class="list-group-item-dark list-group-item">An item</span>