Examples
Chip variants
Chips can be removable or read-only. The Overflow chip is a special chip that is used to expand or collapse the content of a chip group.
Chip 1
Really long chip that goes on and on
Chip7
Read-only chip
Chip groups
A chip group is a collection of chips that can be grouped by category and used to represent one or more values assigned to a single attribute. When the value of numChips
is exceeded, additional chips will be hidden using an overflow chip.
- Chip one
- Really long chip that goes on and on
- Chip three
Chip groups with removable categories
Category one
- Chip one
- Chip two
- Chip three
Category two has a very long name
- Chip one
- Chip two
- Chip three
Props
Chip
Name | Type | Default | Description |
---|---|---|---|
badge | React.ReactNode | Badge to add to the chip. The badge will be rendered after the chip text. | |
children | React.ReactNode | Content rendered inside the chip text | |
className | string | '' | Additional classes added to the chip item |
closeBtnAriaLabel | string | 'close' | Aria Label for close button |
component | React.ReactNode | 'div' | Component that will be used for chip. It is recommended that <button> or <li> are used when the chip is an overflow chip. |
isOverflowChip | boolean | false | Flag indicating if the chip is an overflow chip |
isReadOnly | boolean | false | Flag indicating if chip is read only |
onClick | (event: React.MouseEvent) => void | (_e: React.MouseEvent) => undefined as any | Function that is called when clicking on the chip close button |
ouiaId | number | string | Value to overwrite the randomly generated data-ouia-component-id. | |
textMaxWidth | string | Css property expressed in percentage or any css unit that overrides the default value of the max-width of the chip's text | |
tooltipPosition | | TooltipPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end' | 'top' | Position of the tooltip which is displayed if text is longer |
ChipGroup
Name | Type | Default | Description |
---|---|---|---|
aria-label | string | 'Chip group category' | Aria label for chip group that does not have a category name |
categoryName | string | '' | Category name text for the chip group category. If this prop is supplied the chip group with have a label and category styling applied |
children | React.ReactNode | Content rendered inside the chip group. Should be <Chip> elements. | |
className | string | Additional classes added to the chip item | |
closeBtnAriaLabel | string | 'Close chip group' | Aria label for close button |
collapsedText | string | '${remaining} more' | Customizeable template string. Use variable "${remaining}" for the overflow chip count. |
defaultIsOpen | boolean | false | Flag for having the chip group default to expanded |
expandedText | string | 'Show Less' | Customizable "Show Less" text string |
isClosable | boolean | false | Flag if chip group can be closed |
numChips | number | 3 | Set number of chips to show before overflow |
onClick | (event: React.MouseEvent) => void | (_e: React.MouseEvent) => undefined as any | Function that is called when clicking on the chip group close button |
onOverflowChipClick | (event: React.MouseEvent) => void | (_e: React.MouseEvent) => undefined as any | Function that is called when clicking on the overflow (expand/collapse) chip button |
ouiaId | number | string | Value to overwrite the randomly generated data-ouia-component-id. | |
tooltipPosition | | TooltipPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end' | 'top' | Position of the tooltip which is displayed if the category name text is longer |
CSS variables
Prefixed with 'pf-v5-c-chip'
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.pf-v5-c-chip | --pf-v5-global--Color--100 | #151515 | ||
--pf-v5-global--Color--100 --pf-v5-global--Color--dark-100 $pf-v5-global--Color--dark-100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-chip | --pf-v5-global--Color--200 | #6a6e73 | ||
--pf-v5-global--Color--200 --pf-v5-global--Color--dark-200 $pf-v5-global--Color--dark-200 $pf-v5-color-black-600 #6a6e73 | ||||
.pf-v5-c-chip | --pf-v5-global--BorderColor--100 | #d2d2d2 | ||
--pf-v5-global--BorderColor--100 --pf-v5-global--BorderColor--dark-100 $pf-v5-global--BorderColor--dark-100 $pf-v5-color-black-300 #d2d2d2 | ||||
.pf-v5-c-chip | --pf-v5-global--primary-color--100 | #06c | ||
--pf-v5-global--primary-color--100 --pf-v5-global--primary-color--dark-100 $pf-v5-global--primary-color--dark-100 $pf-v5-color-blue-400 #06c | ||||
.pf-v5-c-chip | --pf-v5-global--link--Color | #06c | ||
--pf-v5-global--link--Color --pf-v5-global--link--Color--dark $pf-v5-global--link--Color--dark $pf-v5-global--primary-color--100 $pf-v5-color-blue-400 #06c | ||||
.pf-v5-c-chip | --pf-v5-global--link--Color--hover | #004080 | ||
--pf-v5-global--link--Color--hover --pf-v5-global--link--Color--dark--hover $pf-v5-global--link--Color--dark--hover $pf-v5-global--primary-color--200 $pf-v5-color-blue-500 #004080 | ||||
.pf-v5-c-chip | --pf-v5-global--BackgroundColor--100 | #fff | ||
--pf-v5-global--BackgroundColor--100 --pf-v5-global--BackgroundColor--light-100 $pf-v5-global--BackgroundColor--light-100 $pf-v5-color-white #fff | ||||
.pf-v5-c-chip | --pf-v5-global--icon--Color--light | #6a6e73 | ||
--pf-v5-global--icon--Color--light --pf-v5-global--icon--Color--light--dark $pf-v5-global--icon--Color--light--dark $pf-v5-color-black-600 #6a6e73 | ||||
.pf-v5-c-chip | --pf-v5-global--icon--Color--dark | #151515 | ||
--pf-v5-global--icon--Color--dark --pf-v5-global--icon--Color--dark--dark $pf-v5-global--icon--Color--dark--dark $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-chip | --pf-v5-c-chip--PaddingTop | 0.25rem | ||
--pf-v5-c-chip--PaddingTop --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip--PaddingRight | 0.5rem | ||
--pf-v5-c-chip--PaddingRight --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip--PaddingBottom | 0.25rem | ||
--pf-v5-c-chip--PaddingBottom --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip--PaddingLeft | 0.5rem | ||
--pf-v5-c-chip--PaddingLeft --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip--BackgroundColor | #fff | ||
--pf-v5-c-chip--BackgroundColor --pf-v5-global--Color--light-100 $pf-v5-global--Color--light-100 $pf-v5-color-white #fff | ||||
.pf-v5-c-chip | --pf-v5-c-chip--BorderRadius | 3px | ||
--pf-v5-c-chip--BorderRadius --pf-v5-global--BorderRadius--sm $pf-v5-global--BorderRadius--sm 3px | ||||
.pf-v5-c-chip | --pf-v5-c-chip--before--BorderColor | #f0f0f0 | ||
--pf-v5-c-chip--before--BorderColor --pf-v5-global--BorderColor--300 $pf-v5-global--BorderColor--300 $pf-v5-color-black-200 #f0f0f0 | ||||
.pf-v5-c-chip | --pf-v5-c-chip--before--BorderWidth | 1px | ||
--pf-v5-c-chip--before--BorderWidth --pf-v5-global--BorderWidth--sm $pf-v5-global--BorderWidth--sm 1px | ||||
.pf-v5-c-chip | --pf-v5-c-chip--before--BorderRadius | 3px | ||
--pf-v5-c-chip--before--BorderRadius --pf-v5-c-chip--BorderRadius --pf-v5-global--BorderRadius--sm $pf-v5-global--BorderRadius--sm 3px | ||||
.pf-v5-c-chip | --pf-v5-c-chip--m-overflow__text--Color | #06c | ||
--pf-v5-c-chip--m-overflow__text--Color --pf-v5-global--primary-color--100 $pf-v5-global--primary-color--100 $pf-v5-color-blue-400 #06c | ||||
.pf-v5-c-chip | --pf-v5-c-chip--m-draggable--BackgroundColor | #f0f0f0 | ||
--pf-v5-c-chip--m-draggable--BackgroundColor --pf-v5-global--BackgroundColor--200 $pf-v5-global--BackgroundColor--200 $pf-v5-color-black-200 #f0f0f0 | ||||
.pf-v5-c-chip | --pf-v5-c-chip--m-draggable--BoxShadow | 0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06) | ||
--pf-v5-c-chip--m-draggable--BoxShadow --pf-v5-global--BoxShadow--sm $pf-v5-global--BoxShadow--sm 0 pf-size-prem(1px) pf-size-prem(2px) 0 rgba($pf-v5-color-black-1000, .12), 0 0 pf-size-prem(2px) 0 rgba($pf-v5-color-black-1000, .06) 0 pf-size-prem(1px) pf-size-prem(2px) 0 rgba(#030303, .12), 0 0 pf-size-prem(2px) 0 rgba(#030303, .06) 0 0.0625rem 0.125rem 0 rgba(3, 3, 3, 0.12), 0 0 0.125rem 0 rgba(3, 3, 3, 0.06) | ||||
.pf-v5-c-chip | --pf-v5-c-chip--m-draggable__icon--FontSize | 0.75rem | ||
--pf-v5-c-chip--m-draggable__icon--FontSize --pf-v5-global--icon--FontSize--sm $pf-v5-global--icon--FontSize--sm pf-font-prem(12px) 0.75rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__content--FontSize | 0.75rem | ||
--pf-v5-c-chip__content--FontSize --pf-v5-global--FontSize--xs $pf-v5-global--FontSize--xs pf-font-prem(12px) 0.75rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__content--ColumnGap | 0.25rem | ||
--pf-v5-c-chip__content--ColumnGap --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__text--Color | #151515 | ||
--pf-v5-c-chip__text--Color --pf-v5-global--Color--100 $pf-v5-global--Color--100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-chip | --pf-v5-c-chip__text--MaxWidth | 16ch | ||
.pf-v5-c-chip | --pf-v5-c-chip__c-badge--MarginLeft | 0.25rem | ||
--pf-v5-c-chip__c-badge--MarginLeft --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--FontSize | 0.75rem | ||
--pf-v5-c-chip__actions--FontSize --pf-v5-global--FontSize--xs $pf-v5-global--FontSize--xs pf-font-prem(12px) 0.75rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--PaddingTop | 0.25rem | ||
--pf-v5-c-chip__actions--c-button--PaddingTop --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--PaddingRight | 0.5rem | ||
--pf-v5-c-chip__actions--c-button--PaddingRight --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--PaddingBottom | 0.25rem | ||
--pf-v5-c-chip__actions--c-button--PaddingBottom --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--PaddingLeft | 0.5rem | ||
--pf-v5-c-chip__actions--c-button--PaddingLeft --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--MarginTop | calc(0.25rem * -1) | ||
--pf-v5-c-chip__actions--c-button--MarginTop calc(--pf-v5-c-chip--PaddingTop * -1) calc(--pf-v5-global--spacer--xs * -1) calc($pf-v5-global--spacer--xs * -1) calc(pf-size-prem(4px) * -1) calc(0.25rem * -1) | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--MarginRight | calc(0.5rem / 2 * -1) | ||
--pf-v5-c-chip__actions--c-button--MarginRight calc(--pf-v5-c-chip--PaddingRight / 2 * -1) calc(--pf-v5-global--spacer--sm / 2 * -1) calc($pf-v5-global--spacer--sm / 2 * -1) calc(pf-size-prem(8px) / 2 * -1) calc(0.5rem / 2 * -1) | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--MarginBottom | calc(0.25rem * -1) | ||
--pf-v5-c-chip__actions--c-button--MarginBottom calc(--pf-v5-c-chip--PaddingBottom * -1) calc(--pf-v5-global--spacer--xs * -1) calc($pf-v5-global--spacer--xs * -1) calc(pf-size-prem(4px) * -1) calc(0.25rem * -1) | ||||
.pf-v5-c-chip | --pf-v5-c-chip__actions--c-button--FontSize | 0.75rem | ||
--pf-v5-c-chip__actions--c-button--FontSize --pf-v5-global--FontSize--xs $pf-v5-global--FontSize--xs pf-font-prem(12px) 0.75rem | ||||
.pf-v5-c-chip | --pf-v5-c-chip__icon--MarginLeft | 0.5rem | ||
--pf-v5-c-chip__icon--MarginLeft --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip.pf-m-draggable | --pf-v5-c-chip--BackgroundColor | #f0f0f0 | ||
--pf-v5-c-chip--BackgroundColor --pf-v5-c-chip--m-draggable--BackgroundColor --pf-v5-global--BackgroundColor--200 $pf-v5-global--BackgroundColor--200 $pf-v5-color-black-200 #f0f0f0 | ||||
.pf-v5-c-chip__actions .pf-v5-c-button | --pf-v5-c-button--PaddingTop | 0.25rem | ||
--pf-v5-c-button--PaddingTop --pf-v5-c-chip__actions--c-button--PaddingTop --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip__actions .pf-v5-c-button | --pf-v5-c-button--PaddingRight | 0.5rem | ||
--pf-v5-c-button--PaddingRight --pf-v5-c-chip__actions--c-button--PaddingRight --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip__actions .pf-v5-c-button | --pf-v5-c-button--PaddingBottom | 0.25rem | ||
--pf-v5-c-button--PaddingBottom --pf-v5-c-chip__actions--c-button--PaddingBottom --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip__actions .pf-v5-c-button | --pf-v5-c-button--PaddingLeft | 0.5rem | ||
--pf-v5-c-button--PaddingLeft --pf-v5-c-chip__actions--c-button--PaddingLeft --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip__actions .pf-v5-c-button | --pf-v5-c-button--FontSize | 0.75rem | ||
--pf-v5-c-button--FontSize --pf-v5-c-chip__actions--c-button--FontSize --pf-v5-global--FontSize--xs $pf-v5-global--FontSize--xs pf-font-prem(12px) 0.75rem |
Prefixed with 'pf-v5-c-chip-group'
Expand or collapse column | Selector | Variable | Value | |
---|---|---|---|---|
.pf-v5-c-chip-group | --pf-v5-global--Color--100 | #151515 | ||
--pf-v5-global--Color--100 --pf-v5-global--Color--dark-100 $pf-v5-global--Color--dark-100 $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-chip-group | --pf-v5-global--Color--200 | #6a6e73 | ||
--pf-v5-global--Color--200 --pf-v5-global--Color--dark-200 $pf-v5-global--Color--dark-200 $pf-v5-color-black-600 #6a6e73 | ||||
.pf-v5-c-chip-group | --pf-v5-global--BorderColor--100 | #d2d2d2 | ||
--pf-v5-global--BorderColor--100 --pf-v5-global--BorderColor--dark-100 $pf-v5-global--BorderColor--dark-100 $pf-v5-color-black-300 #d2d2d2 | ||||
.pf-v5-c-chip-group | --pf-v5-global--primary-color--100 | #06c | ||
--pf-v5-global--primary-color--100 --pf-v5-global--primary-color--dark-100 $pf-v5-global--primary-color--dark-100 $pf-v5-color-blue-400 #06c | ||||
.pf-v5-c-chip-group | --pf-v5-global--link--Color | #06c | ||
--pf-v5-global--link--Color --pf-v5-global--link--Color--dark $pf-v5-global--link--Color--dark $pf-v5-global--primary-color--100 $pf-v5-color-blue-400 #06c | ||||
.pf-v5-c-chip-group | --pf-v5-global--link--Color--hover | #004080 | ||
--pf-v5-global--link--Color--hover --pf-v5-global--link--Color--dark--hover $pf-v5-global--link--Color--dark--hover $pf-v5-global--primary-color--200 $pf-v5-color-blue-500 #004080 | ||||
.pf-v5-c-chip-group | --pf-v5-global--BackgroundColor--100 | #fff | ||
--pf-v5-global--BackgroundColor--100 --pf-v5-global--BackgroundColor--light-100 $pf-v5-global--BackgroundColor--light-100 $pf-v5-color-white #fff | ||||
.pf-v5-c-chip-group | --pf-v5-global--icon--Color--light | #6a6e73 | ||
--pf-v5-global--icon--Color--light --pf-v5-global--icon--Color--light--dark $pf-v5-global--icon--Color--light--dark $pf-v5-color-black-600 #6a6e73 | ||||
.pf-v5-c-chip-group | --pf-v5-global--icon--Color--dark | #151515 | ||
--pf-v5-global--icon--Color--dark --pf-v5-global--icon--Color--dark--dark $pf-v5-global--icon--Color--dark--dark $pf-v5-color-black-900 #151515 | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--PaddingTop | 0 | ||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--PaddingRight | 0 | ||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--PaddingBottom | 0 | ||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--PaddingLeft | 0 | ||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--RowGap | 0.5rem | ||
--pf-v5-c-chip-group--RowGap --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--ColumnGap | 0 | ||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__main--RowGap | 0.25rem | ||
--pf-v5-c-chip-group__main--RowGap --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__main--ColumnGap | 0.5rem | ||
--pf-v5-c-chip-group__main--ColumnGap --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__list--RowGap | 0.25rem | ||
--pf-v5-c-chip-group__list--RowGap --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__list--ColumnGap | 0.25rem | ||
--pf-v5-c-chip-group__list--ColumnGap --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--m-category--PaddingTop | 0.25rem | ||
--pf-v5-c-chip-group--m-category--PaddingTop --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--m-category--PaddingRight | 0.25rem | ||
--pf-v5-c-chip-group--m-category--PaddingRight --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--m-category--PaddingBottom | 0.25rem | ||
--pf-v5-c-chip-group--m-category--PaddingBottom --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--m-category--PaddingLeft | 0.5rem | ||
--pf-v5-c-chip-group--m-category--PaddingLeft --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--m-category--BorderRadius | 3px | ||
--pf-v5-c-chip-group--m-category--BorderRadius --pf-v5-global--BorderRadius--sm $pf-v5-global--BorderRadius--sm 3px | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group--m-category--BackgroundColor | #f0f0f0 | ||
--pf-v5-c-chip-group--m-category--BackgroundColor --pf-v5-global--BackgroundColor--200 $pf-v5-global--BackgroundColor--200 $pf-v5-color-black-200 #f0f0f0 | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__label--FontSize | 0.875rem | ||
--pf-v5-c-chip-group__label--FontSize --pf-v5-global--FontSize--sm $pf-v5-global--FontSize--sm pf-font-prem(14px) 0.875rem | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__label--MaxWidth | 18ch | ||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__close--MarginTop | calc(0.25rem * -1) | ||
--pf-v5-c-chip-group__close--MarginTop calc(--pf-v5-global--spacer--xs * -1) calc($pf-v5-global--spacer--xs * -1) calc(pf-size-prem(4px) * -1) calc(0.25rem * -1) | ||||
.pf-v5-c-chip-group | --pf-v5-c-chip-group__close--MarginBottom | calc(0.25rem * -1) | ||
--pf-v5-c-chip-group__close--MarginBottom calc(--pf-v5-global--spacer--xs * -1) calc($pf-v5-global--spacer--xs * -1) calc(pf-size-prem(4px) * -1) calc(0.25rem * -1) | ||||
.pf-v5-c-chip-group.pf-m-category | --pf-v5-c-chip-group--PaddingTop | 0.25rem | ||
--pf-v5-c-chip-group--PaddingTop --pf-v5-c-chip-group--m-category--PaddingTop --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group.pf-m-category | --pf-v5-c-chip-group--PaddingRight | 0.25rem | ||
--pf-v5-c-chip-group--PaddingRight --pf-v5-c-chip-group--m-category--PaddingRight --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group.pf-m-category | --pf-v5-c-chip-group--PaddingBottom | 0.25rem | ||
--pf-v5-c-chip-group--PaddingBottom --pf-v5-c-chip-group--m-category--PaddingBottom --pf-v5-global--spacer--xs $pf-v5-global--spacer--xs pf-size-prem(4px) 0.25rem | ||||
.pf-v5-c-chip-group.pf-m-category | --pf-v5-c-chip-group--PaddingLeft | 0.5rem | ||
--pf-v5-c-chip-group--PaddingLeft --pf-v5-c-chip-group--m-category--PaddingLeft --pf-v5-global--spacer--sm $pf-v5-global--spacer--sm pf-size-prem(8px) 0.5rem |
View source on GitHub