← Back to documentation
List
A list that can be either ordered or unordered.
Information
Plan: Personal
Properties
| Property | Type | Default |
|---|---|---|
| List style position | enum<string> | "outside" |
| List style type | string | "disc" |
| Font size | string | "1rem" |
| Font weight | string | "normal" |
| Letter spacing | string | "normal" |
| Color | string | "var(--pc-semantic-text-primary)" |
| Background | string | "none" |
| Background color | string | "transparent" |
| Border color | string | "transparent" |
| Border width | string | "0px" |
| Border radius | string | "0px" |
| Box shadow | string | "none" |
| Text shadow | string | "none" |
| Element | enum<string> | "ul" |
| Display | enum<string> | "flex" |
| Position | enum<string> | "relative" |
| Top | string | "auto" |
| Right | string | "auto" |
| Bottom | string | "auto" |
| Left | string | "auto" |
| Z-index | string | "auto" |
| Flexbox direction | enum<string> | "column" |
| Align items | enum<string> | "stretch" |
| Justify content | enum<string> | "stretch" |
| Padding | string | "1rem" |
| Padding inline start | string | "1rem" |
| Gap | string | "0.5rem" |
| Width | string | "auto" |
| Height | string | "auto" |
| Selectors | array | [] |