diff --git a/core/api.txt b/core/api.txt
index 900cdc817c..d4ab922572 100644
--- a/core/api.txt
+++ b/core/api.txt
@@ -528,6 +528,7 @@ ion-item,css-prop,--padding-start
ion-item,css-prop,--padding-top
ion-item,css-prop,--ripple-color
ion-item,css-prop,--transition
+ion-item,part,detail-icon
ion-item-divider,shadow
ion-item-divider,prop,color,string | undefined,undefined,false,false
diff --git a/core/src/components/item/item.tsx b/core/src/components/item/item.tsx
index 46a0460f9c..c606d3cd48 100644
--- a/core/src/components/item/item.tsx
+++ b/core/src/components/item/item.tsx
@@ -11,6 +11,8 @@ import { createColorClasses, hostContext, openURL } from '../../utils/theme';
* @slot - Content is placed between the named slots if provided without a slot.
* @slot start - Content is placed to the left of the item text in LTR, and to the right in RTL.
* @slot end - Content is placed to the right of the item text in LTR, and to the left in RTL.
+ *
+ * @part detail-icon - The chevron icon for the item. Only applies when `detail="true"`.
*/
@Component({
tag: 'ion-item',
@@ -213,7 +215,7 @@ export class Item implements ComponentInterface, AnchorInterface, ButtonInterfac
- {showDetail && }
+ {showDetail && }
{canActivate && mode === 'md' && }
diff --git a/core/src/components/item/readme.md b/core/src/components/item/readme.md
index b55fa59fb2..89c99eb32a 100644
--- a/core/src/components/item/readme.md
+++ b/core/src/components/item/readme.md
@@ -1397,6 +1397,13 @@ Item Inputs
| `"start"` | Content is placed to the left of the item text in LTR, and to the right in RTL. |
+## Shadow Parts
+
+| Part | Description |
+| --------------- | ----------------------------------------------------------------- |
+| `"detail-icon"` | The chevron icon for the item. Only applies when `detail="true"`. |
+
+
## CSS Custom Properties
| Name | Description |
diff --git a/core/src/components/item/test/buttons/index.html b/core/src/components/item/test/buttons/index.html
index fd208d1726..6b391314d9 100644
--- a/core/src/components/item/test/buttons/index.html
+++ b/core/src/components/item/test/buttons/index.html
@@ -53,6 +53,13 @@
button[ion-item] danger
+
+
+ button[ion-item] detail
+ Footnote
+
+
+
Default
Inner Buttons
@@ -159,6 +166,27 @@
--background-hover-opacity: 1;
--color-hover: purple;
}
+
+ .item-part h1 {
+ font-size: 18px;
+ font-weight: 500;
+
+ color: #333;
+ }
+
+ .item-part h2 {
+ font-size: 14px;
+
+ color: #888;
+ }
+
+ .item-part::part(detail-icon) {
+ margin-top: -18px;
+
+ color: red;
+
+ opacity: 1;
+ }