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

# CPPanelItem

A type that provides the common behaviors for items you display in a section of a panel.

```
class CPPanelItem
```

## Overview

The `CPPanelItem` type defines the default behaviors for content you display in a panel. You don’t create
this type directly or use it to configure the contents of your panel. Instead, instantiate one of the defined subclasses
based on the type of panel you’re configuring. For example, create [`CPMapPanelItem`](/documentation/CarPlay/CPMapPanelItem) objects when configuring
the content for a [`CPMapPanel`](/documentation/CarPlay/CPMapPanel) type.

## Topics

### Initializers

[`init?(coder: NSCoder)`](/documentation/CarPlay/CPPanelItem/init(coder:))

[`init(gridButtons: [CPGridButton])`](/documentation/CarPlay/CPPanelItem/init(gridButtons:))

Initialize the item using one or more grid buttons.

[`init(listItem: CPListItem)`](/documentation/CarPlay/CPPanelItem/init(listItem:))

Initialize the item using a list item.

### Instance Properties

[`var isEnabled: Bool`](/documentation/CarPlay/CPPanelItem/isEnabled)

A Boolean value that indicates whether the item supports interactions.

[`var showsBottomSeparator: Bool`](/documentation/CarPlay/CPPanelItem/showsBottomSeparator)

A Boolean value that indicates whether a separator line appears at the bottom edge of the item.

[`var userInfo: Any?`](/documentation/CarPlay/CPPanelItem/userInfo)

Custom information you want to store with the item.

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Inherited By

[`CPMapPanelItem`](/documentation/CarPlay/CPMapPanelItem)

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

---

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)