list 3.1.2
Install from the command line:
Learn more about npm packages
$ npm install @axa-ch-webhub-cloud/list@3.1.2
Install via package.json:
"@axa-ch-webhub-cloud/list": "3.1.2"
About this version
List in various variants. Standardizes the use of ol and ul tags.
| Attribute | Details |
|---|---|
variant="ordered" |
Variants (default: ul) |
icon="" |
If variant is set to icon, add the SVG here as string |
This defines, which tag is being used internally (ol and ul) and also gives certain possibilies like adding icons or go completely without styling.
default: Unordered list, with bullet-points
ordered: Ordered list, with numbers
unstyles: Unordered list, without bullet-points
icon: Unordered list, with icons as replacement for bullet-points
Add an SVG as string, if you need an icon instead of a bullet point or number preceding each list item.