|
id
|
:any
|
|
|
|
|
class
|
:any
|
|
|
|
|
variant
|
:string
|
|
"filled"
|
|
|
color
|
:string
|
|
|
|
|
size
|
:string
|
|
"md"
|
|
|
clickable
|
:boolean
|
|
false
|
|
|
selectable
|
:boolean
|
render a selectable toggle button
|
false
|
|
|
deletable
|
:boolean
|
show a delete button on the chip
|
false
|
|
|
selected
|
:boolean
|
mark the chip as selected
|
false
|
|
|
disabled
|
:boolean
|
|
false
|
|
|
navigate
|
:string
|
navigate to another LiveView when the chip is activated
|
|
|
|
patch
|
:string
|
patch the current LiveView when the chip is activated
|
|
|
|
href
|
:any
|
use traditional browser navigation when the chip is activated
|
|
|
|
replace
|
:boolean
|
replace browser history when using navigate or patch
|
false
|
|
|
delete_event
|
:any
|
LiveView event name or JS command dispatched by the native removal button
|
|
|
|
delete_label
|
:string
|
accessible label for the native removal button
|
"Remove chip"
|
|
|
rest
|
:global
|
additional HTML attributes
|
|
|
|
Required
inner_block
*
|
:slot
|
|
Default
|
|
icon
|
:slot
|
|