(List Group Item) (list_group_item)

Internal: to be used in the 'List Group' component.

🔗 External documentation.

ID Label Description Schema
content Content Plain text, or any kind of content.
active Active? Indicate the current active selection.
                        type: boolean

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

                      
url URL The button URL. Optional.
                        type: string
format: uri-reference

                      
            id: list_group_item
label: '(List Group Item)'
description: "Internal: to be used in the 'List Group' component."
group: 'List group'
homepage: 'https://getbootstrap.com/docs/5.3/components/list-group/'
variants:
    default:
        id: default
        label: Default
    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:
    active:
        id: active
        label: 'Active?'
        description: 'Indicate the current active selection.'
        schema:
            type: boolean
    disabled:
        id: disabled
        label: 'Disabled?'
        description: 'Make it appears disabled. Note that some elements with .disabled will also require custom JavaScript to fully disable their click events (e.g., links).'
        schema:
            type: boolean
    url:
        id: url
        label: URL
        description: 'The button URL. Optional.'
        schema:
            type: string
            format: uri-reference
examples:
    preview:
        id: preview
        label: Preview
        renderable:
            '@component': list_group_item
            content: 'An item'

          

Default ( default )

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

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>