2.10.0

Chip List

Chip List Component in Bolt

Published

History
View changes
Install
yarn add @bolt/components-chip-list
Source code
View on Github
Dependencies
@bolt/components-chip @bolt/components-list @bolt/core

Chip-list can contain multiple chips. Part of the Bolt “Components” CSS framework that powers the Bolt Design System.

Install via NPM
npm install @bolt/components-chip-list
{% include "@bolt-components-chip-list/chip-list.twig" with { items: [ { text: "Chip 1", url: "#!" }, { text: "Chip 2", url: "#!" }, { text: "Chip 3", url: "#!" } ] } only %}

Note: when assigning component props as HTML attributes on a web component, make sure to use kebab-case.

Prop Name Description Type Default Value Option(s)
items

An array of Chips.

array
  • [items]:
    • Type: object

      Chip.

    • Properties:
    content_items

    Deprecated (will be removed in Bolt v3.0) - use the items prop instead.

    array
    • [items]:
      • Type: object

        Chip.

      • Properties:
      Overview Usage Schema Edit this page Testing Steps