Description List

<sw-description-list>

ready
A definition list which uses CSS grid for a column layout.

Usage

Loading...
<sw-description-list>
    <dt>Product name</dt>
    <dd>Example product</dd>
    <dt>Price</dt>
    <dd>$4.99</dd>
    <dt>Description</dt>
    <dd>Lorem ipsum dolor sit amet, consetetur sadipscing elitr</dd>
</sw-description-list>

Component properties

Property name Type Default
grid String 1fr 1fr

Imports

  • ./sw-description-list.html.twig
  • ./sw-description-list.scss

Twig blocks

  • sw_description_list_slot_default
  • sw_description_list

Slots

  • default