@licuido-ui/ui_chiplist-with-count
v3.0.1
Published
ChipListWithCount are compact elements that represent an input, attribute, or action.
Readme
ChipListWithCount
ChipListWithCount are compact elements that represent an input, attribute, or action.
Author
- @author Henry Dyson J [email protected]
Link
Story Book Link ChipListWithCount
PlayGround
Installation
npm i @licuido-ui/ui_chiplist-with-countImport component
import { ChipListWithCount } from '@licuido-ui/ui_chiplist-with-count';Usage
<ChipListWithCount
options={list}
variant={'filled'}
handleChipClick={(item) => console.log(item, 'itemclick')}
handlechipDelete={(item) => console.log(item, 'deleteclick')}
maximumChipShowCount={4}
chipWrap='wrap'
/>Image

Sample Code
<ChipListWithCount
options={list}
variant={'filled'}
handleChipClick={(item) => console.log(item, 'itemclick')}
handlechipDelete={(item) => console.log(item, 'deleteclick')}
maximumChipShowCount={4}
chipWrap='wrap'
/>Props
| Name | Description | Default | Control |
| ------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | --------- |
| className | string | string | string |
| sx | SxProps | SxProps | {} |
| handleChipClick | ()=>{} | ()=>{} | |
| handlechipDelete | ()=>{} | ()=>{} | |
| deleteIcon | ReactNode | ReactNode | ReactNode |
| startIcon | ReactNode | ReactNode | ReactNode |
| chipStyles | SxProp | SxProp | SxProp |
| label | string | string | string |
| chipStyles | SxProp | SxProp | SxProp |
| label | string | string | string |
| labelStyles | SxProp | SxProp | SxProp |
| maximumChipShowCount | number | number | number |
| chipDirection | 'column' or 'column-reverse' or 'row' or 'row-reverse' | 'column' or 'column-reverse' or 'row' or 'row-reverse' | 'column' |
