ui.chip('Click me', icon='ads_click', on_click=lambda: ui.notify('Clicked')) ui.chip('Selectable', selectable=True, icon='bookmark', color='orange') ui.chip ...
There are three new-value modes: "add", "add-unique", and "toggle" (the default). - "add" adds all values to the list (allowing duplicates). - "add-unique" adds only unique values to the list. - ...