diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h
index 39f3bba8e16c8664508be21ca2a1ca8abfe9929d..db76638f93737dde04bde3ce228eda5042d1dc21 100644
--- a/arkui/ace_engine/native/native_node.h
+++ b/arkui/ace_engine/native/native_node.h
@@ -3554,6 +3554,30 @@ typedef enum {
*
*/
NODE_TEXT_AREA_TEXT,
+ /**
+ * @brief Defines the counter settings. This attribute can be set, reset, and obtained as required through APIs.
+ *
+ * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n
+ * .value[0].i32: whether to show a character counter. The value true means to show a character counter. \n
+ * .value[1]?.f32: threshold percentage for displaying the character counter. The character counter is displayed
+ * when the number of characters that have been entered is greater than the maximum number of characters multiplied
+ * by the threshold percentage value. The value range is 1 to 100. If the value is a decimal, it is rounded down. \n
+ * .value[2]?.i32: whether to highlight the border when the number of entered characters reaches the maximum. \n
+ * .value[3]?.u32: the color of counter when textField hasn't wanted to exceed the maximum character count. \n
+ * .value[4]?.u32: the color of counter when textField wants to exceed the maximum character count. \n
+ * \n
+ * Format of the return value {@link ArkUI_AttributeItem}:\n
+ * .value[0].i32: whether to show a character counter. \n
+ * .value[1].f32: threshold percentage for displaying the character counter. The character counter is displayed
+ * when the number of characters that have been entered is greater than the maximum number of characters multiplied
+ * by the threshold percentage value. The value range is 1 to 100. \n
+ * .value[2].i32: whether to highlight the border when the number of entered characters reaches the maximum.
+ * The default value is true. \n
+ * .value[3].u32: the color of counter when textField hasn't wanted to exceed the maximum character count. \n
+ * .value[4].u32: the color of counter when textField wants to exceed the maximum character count. \n
+ *
+ */
+ NODE_TEXT_AREA_SHOW_COUNTER,
/**
* @brief Defines the maximum number of characters in the text input.
* This attribute can be set, reset, and obtained as required through APIs.