--- 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_version: 2025-10 api_name: admin-extensions source_url: html: >- https://shopify.dev/docs/api/admin-extensions/latest/polaris-web-components/titles-and-text/chip md: >- https://shopify.dev/docs/api/admin-extensions/latest/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 ##### jsx ```jsx Chip ``` ##### html ```html Chip ``` ## Useful for * Labeling, organizing, and categorizing objects * Highlighting content attributes * Enhancing discoverability by identifying items with similar properties ## Best practices * `subdued`: use for secondary or less important information * `base`: use as default color * `strong`: use for important or verified status * Text truncates automatically, keep labels short to avoid truncation * Chips are static indicators, not interactive or dismissible. For interactive chips, use ClickableChip * Add icons to `graphic` slot to provide visual context * Display chips near the content they classify ## Content guidelines Chip labels should: * Be short and concise to avoid truncation * Use `accessibilityLabel` to describe purpose for screen readers * Common status labels: `Active`, `Draft`, `Published`, `Verified` * Common category labels: `Product type`, `Collection`, `Tag name` ## Examples Component examples ### Basic usage ### Examples * #### Basic usage ##### Description Simple chip displaying product status without an icon. ##### jsx ```jsx Active ``` ##### html ```html Active ``` * #### With icon graphic ##### Description Chip enhanced with an icon to provide visual context for the category. ##### jsx ```jsx Electronics ``` ##### html ```html Electronics ``` * #### Color variants ##### Description Demonstrates all three color variants for different levels of visual emphasis. ##### jsx ```jsx Draft Published Verified ``` ##### html ```html Draft Published Verified ``` * #### Product status ##### Description Common status indicators demonstrating chips in real-world product management scenarios. ##### jsx ```jsx Active Draft Published ``` ##### html ```html Active Draft Published ``` * #### Text truncation ##### Description Demonstrates automatic text truncation for long content within a constrained width. ##### jsx ```jsx 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 ``` ##### html ```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 ```