Design

Chips are compact components that represent input, attribute, or action. Chips allow users to enter information, make selections, filter content, or trigger actions. While Buttons are expected to appear consistently and with familiar calls to action, Chips should appear dynamically as a group of multiple interactive elements.

Examples

Normal

Test zero
Test one
Test two
Test three
Test four
Test five
Test six
Test seven

Condensed

Test zero
Test one
Test two
Test three

ChipList

There are 3 fundamental types, specified in the Chip List component. All lists can be displayed in condensed mode;

Props

NameDescriptionTypeRequiredDefault
labellabel for the chips group, directly maps to aria-label attributeStringtrue-
modethe type of Chips being displayed, can be list radio or singleStringfalselist
modelValuecurrent value selected by the radio group, only used in radio modeStringfalse-
condensedtoggles the condensed presentation modeBooleanfalsefalse

Events

  • update:modelValue - only emitted when modelValue is updated in radio mode

Slots

  • default - should be Chips to be used in the list

data-ref-ids

  • feather-chip-list - list element

Chip

Props

NameDescriptionTypeRequiredDefault
disabledchanges the Chip to disabled mode, no actions can occurStringtrue-
labelstranslation labels objectObjectfalse-
condensedtoggles the condensed presentation mode, overridden if set at listBooleanfalsefalse

Slots

  • default - the text displayed in the Chip
  • icon - icon to display on the left side if appropriate