Getting Started
Overview
Installation
Theme
Forms
Basic Inputs
Select
Custom Inputs
Components
Navigation
Components
69
Micro Charts
Libraries
Kanban Board
Image Designer
Video Player
Visual Builder
Content Editor
Data View
Latest npm version of @ngstarter-ui/componentsWeekly npm downloads of @ngstarter-ui/components
Purchase

Chips

Chips are compact elements for short values, attributes, selected items, filters, or tags. They can be static labels, selectable options, removable or editable tokens, input-created tags, or autocomplete-selected values.

Use them for:
  • Compact values: Show tags, categories, filters, roles, or attributes.
  • Selectable options: Use a chip listbox when users choose one or many short options.
  • Token input: Use a chip grid with chip input when users create a list of values.
  • Editable selections: Let users remove, edit, autocomplete, or reorder chip values.

Do not use Chips as badges on icons, command buttons, mode toggles, long labels, alerts, or replacements for checkbox, radio, or select controls when those controls better match the task.

ngs-chip

PropTypeDefault
appearance
The appearance of the chip.
stringfilled
disabled
Whether the chip is disabled.
booleanfalse
value
The value of the chip.
anyundefined
EventDescription
destroyedEmitted when the chip is destroyed.
removedEmitted when the chip is removed.

ngs-chip-listbox

PropTypeDefault
multiple
Whether the chip listbox allows multiple selection.
booleanfalse
disabled
Whether the chip listbox is disabled.
booleanfalse

ngs-chip-grid

PropTypeDefault
id
The unique ID of the chip grid.
stringngs-chip-grid-x
placeholder
The placeholder for the chip grid.
string
required
Whether the chip grid is required.
booleanfalse
disabled
Whether the chip grid is disabled.
booleanfalse

ngs-chip-option

PropTypeDefault
selected
Whether the chip option is selected.
booleanfalse
EventDescription
selectionChangeEmitted when the chip option selection state changes.

ngs-chip-row

PropTypeDefault
editable
Whether the chip row is editable.
booleanfalse
EventDescription
editedEmitted when the chip row value is edited.

ngsChipInput

PropTypeDefault
ngsChipInputFor
The chip grid that the input is associated with.
ChipGrid
ngsChipInputSeparatorKeyCodes
The list of key codes that will trigger a chip input token end event.
number[] | ReadonlySet<number>
ngsChipInputAddOnBlur
Whether to add a chip when the input loses focus.
booleanfalse
EventDescription
chipInputTokenEndEmitted when a chip input token end event is triggered.