DefinitionList Component

Usage

Cillum nulla dolore cupidatat nulla laboris exercitation nulla exercitation tempor nisi incididunt est. Cillum tempor in ad eu velit. Ipsum reprehenderit anim commodo occaecat laboris velit ullamco laborum id. Non est duis do enim laboris labore Lorem deserunt occaecat cupidatat cillum excepteur. Ad excepteur commodo id fugiat proident.

DefinitionList

Title 1
Description
Title 2
Description
<script>
  import { DefinitionList, DefinitionListItem } from "$lib/components";
</script>

<DefinitionList>
  <DefinitionListItem title="Title 1" description="Description" />
  <DefinitionListItem title="Title 2" description="Description" />
</DefinitionList>

DefinitionList with Items Prop

Title 1
Description 1
Title 2
Description 2
<script>
  import { DefinitionList } from "$lib/components";
</script>

<DefinitionList
  items={[
    { title: "Title 1", description: "Description 1" },
    { title: "Title 2", description: "Description 2" },
  ]}
/>