---
title: "listItemTint(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/listitemtint(_:)"
---

# listItemTint(_:)

Sets a fixed tint color for content in a list.

## Declaration

```swift
nonisolated func listItemTint(_ tint: Color?) -> some View

```

## Parameters

- `tint`: The color to use to tint the content. Use nil to avoid overriding the inherited tint.

## Discussion

Discussion The containing list’s style applies the tint as appropriate. For example, watchOS uses the tint color for its background platter appearance. Sidebars on iOS and macOS apply the tint color to their Label icons, which otherwise use the accent color by default. note: This modifier is equivalent to using the version of the modifier that takes a ListItemTint value and specifying the tint color in the corresponding fixed(_:) input.

## See Also

### Configuring rows

- [ListItemTint](swiftui/listitemtint.md)
