ChipCarousel
The ChipCarousel component creates a scrollable horizontal block of chips with buttons for navigating to the previous and next set of chips.
Basic Usage
Any Paragon component or export may be added to the code example.
Theme Variables#
| CSS Variable | Computed Value | 
|---|---|
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
Props API#
- ariaLabelstringRequiredText describing the ChipCarousel for screen readers. 
- classNamestringSpecifies class name for the ChipCarousel. 
- itemselement[]RequiredSpecifies array of Chipelements to be rendered inside the carousel.
- disableOpacityMasksboolWhether the default opacity masks should be shown at the start/end, if applicable. 
- onScrollPreviousfuncCallback function for when the user scrolls to the previous element. 
- onScrollNextfuncCallback function for when the user scrolls to the next element. 
- canScrollHorizontalboolDefaultfalseWhether users can scroll within the overflow container. 
- offsetnumber|stringDefault120A value specifying the distance the scroll should move. 
- offsetTypeenum'percentage' | 'fixed'Default'fixed'Type of offset value (percentage or fixed). 
- gapnumberDefault3Specifies inner space between children blocks. Valid values are based on the spacing classes:0, 0.5, ... 6.