Chip set (chip_set
)
A set of chips components.
🔗 External documentation.
ID | Label | Description | Schema |
---|---|---|---|
chips | Chips | The chip components. |
id: chip_set
label: 'Chip set'
description: 'A set of chips components. '
homepage: 'https://m2.material.io/components/chips'
variants:
default:
id: default
label: Default
input:
id: input
label: Input
description: 'Indicates that the chips in the set are input chips, which enable user input by converting text into chips.'
choice:
id: choice
label: Choice
description: 'Indicates that the chips in the set are choice chips, which allow a single selection from a set of options.'
filter:
id: filter
label: Filter
description: 'Optional. Indicates that the chips in the set are filter chips, which allow multiple selection from a set of options.'
slots:
chips:
id: chips
label: Chips
description: 'The chip components.'
examples:
preview:
id: preview
label: Preview
renderable:
'@component': chip_set
chips:
-
'@component': chip
'@variant': selected
text: 'Chip One'
-
'@component': chip
text: 'Chip Two'
-
'@component': chip
text: 'Chip Three'
Default
(
default
)
Chip Two
Chip Three
Input
(
input
)
Indicates that the chips in the set are input chips, which enable user input by converting text into chips.
Chip Two
Chip Three
Choice
(
choice
)
Indicates that the chips in the set are choice chips, which allow a single selection from a set of options.
Chip Two
Chip Three
Filter
(
filter
)
Optional. Indicates that the chips in the set are filter chips, which allow multiple selection from a set of options.
Chip Two
Chip Three