Shards Vue

Documentation

    List Groups

    List groups allow you to display series of content.

    Basic Example

    You can create list groups using the <d-list-group> component with the <d-list-group-item> sub-component.

    
    <d-list-group>
      <d-list-group-item>Cras justo odio</d-list-group-item>
      <d-list-group-item>Dapibus ac facilisis in</d-list-group-item>
      <d-list-group-item>Morbi leo risus</d-list-group-item>
      <d-list-group-item>Porta ac consectetur ac</d-list-group-item>
      <d-list-group-item>Vestibulum at eros</d-list-group-item>
    </d-list-group>
    
    
    <!-- list-group-1.vue -->
    

    Props

    PropDescriptionTypeDefaultRequired
    :tagThe element tag.String"div"False
    :flushWhether the list group should be flushed, or not.BooleanfalseFalse

    Subcomponents

    The following subcomponents are available for the <d-list-group/> component:

    <d-list-group-item/>

    This subcomponent is inheriting Link component's props.

    Props
    PropDescriptionTypeDefaultRequired
    :tag-String"div"False
    :action-BooleannullFalse
    :button-BooleannullFalse
    :theme-StringnullFalse