<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPPanelItem/init(listItem:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPPanelItem(im)initWithListItem:"
  },
  "title" : "init(listItem:)"
}
-->

# init(listItem:)

Initialize the item using a list item.

```
init(listItem: CPListItem)
```

## Parameters

`listItem`

The list item with the information to display. The [`CPListItem`](/documentation/CarPlay/CPListItem) type supports primary and
secondary text and images.

## Return Value

A panel item configured with the specified list item.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)