Usage
SwiftUI
M3EListItem("Wi-Fi", supporting: "Home network", leadingIcon: "wifi", trailingText: "On") {}API
| Property | SwiftUI | Description |
|---|---|---|
| headline | _ headline | Primary text. |
| supporting | supporting, overline, supportingLines | Secondary text. |
| leading / trailing | leadingIcon or leading:{} | Slots for icons, avatars, controls. |
Guidelines
- Use shape avatars (Material shape) for people and places.