--- title: Chip description: Represents a set of user-supplied keywords that help label, organize, and categorize objects. Used to categorize or highlight content attributes. They are often displayed near the content they classify, enhancing discoverability by allowing users to identify items with similar properties. api_name: app-home source_url: html: https://shopify.dev/docs/api/app-home/polaris-web-components/titles-and-text/chip md: https://shopify.dev/docs/api/app-home/polaris-web-components/titles-and-text/chip.md --- # Chip Represents a set of user-supplied keywords that help label, organize, and categorize objects. Used to categorize or highlight content attributes. They are often displayed near the content they classify, enhancing discoverability by allowing users to identify items with similar properties. ## Properties * accessibilityLabel string A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers. * color ColorKeyword Default: 'base' Modify the color to be more or less intense. ### ColorKeyword ```ts 'subdued' | 'base' | 'strong' ``` ## Slots * children HTMLElement The content of the Chip. * graphic HTMLElement The graphic to display in the chip. Only accepts `Icon` components. ### Examples * #### Code ##### Default ```html Chip ``` ## Examples Component examples ### Basic usage Basic usage Simple chip displaying product status without an icon. With icon graphic Chip enhanced with an icon to provide visual context for the category. Color variants Demonstrates all three color variants for different levels of visual emphasis. Product status Common status indicators demonstrating chips in real-world product management scenarios. Text truncation Demonstrates automatic text truncation for long content within a constrained width. ### Examples * #### Basic usage ##### Description Simple chip displaying product status without an icon. ##### Default ```html Active ``` * #### With icon graphic ##### Description Chip enhanced with an icon to provide visual context for the category. ##### Default ```html Electronics ``` * #### Color variants ##### Description Demonstrates all three color variants for different levels of visual emphasis. ##### Default ```html Draft Published Verified ``` * #### Product status ##### Description Common status indicators demonstrating chips in real-world product management scenarios. ##### Default ```html Active Draft Published ``` * #### Text truncation ##### Description Demonstrates automatic text truncation for long content within a constrained width. ##### Default ```html This is a very long product name that will be truncated with ellipsis when it exceeds the container width Electronics and computer accessories category with extended description ```