Chip Group

Chip Group provides consistent spacing, accessible keyboard navigation, and selection modes to multiple Chips.

Overview

Chip Group supports workflows and patterns using more than one Chip. Chips are predictably spaced within the Chip Group, and opt-in selection modes can facilitate workflows with interactive Chips.

Usage

  • Selection workflows
  • Filtering patterns
  • Toggling of categorical data

Sample

Accessibility

Keyboard navigation

KeyFunction
TabMoves focus to the next calcite-chip. When calcite-chip is closable, moves focus in and out of the "Close" button. If the current focus is the last calcite-chip, focus will leave the component.
Tab and ShiftMoves focus to the previous calcite-chip. When calcite-chip is closeable, moves focus in and out of the "Close" button. If the current focus is the first calcite-chip, focus will leave the component.
Arrow leftMoves focus to the previous calcite-chip. If the current focus is the first calcite-chip, focus will return to the last calcite-chip.
Arrow rightMoves focus to the next calcite-chip. If the current focus is the last calcite-chip, focus will return to the first calcite-chip.
SpaceWhen selectionMode is not "none", selects the focused calcite-chip. When calcite-chip is closeable and focused, hides the component.
EnterWhen selectionMode is not "none", selects the focused calcite-chip. When calcite-chip is closeable and focused, hides the component.
HomeMoves focus to the component's first calcite-chip.
EndMoves focus to the component's last calcite-chip.

API reference

Properties

Events

Methods

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.