Tags input

Tag chips with suggestions and create-as-you-type.

angular signals

Max tags

Design

Disabled

Read-only Tags

Prefilled

design frontend accessibility ssr

Suggestions & create on the fly

Focus the field to see the existing tags, type to filter them — and type something new to get a Create row. Anything added that no suggestion matches is emitted on (created), which is where the backend creates the tag and hands it back as a suggestion.

angular

Suggestions only

API reference

Inputs

PropTypeDefaultDescription
suggestionsreadonly string[][]Existing tags offered as a filtered suggestion list; leave empty for a plain free-text field.
allowCreatebooleantrueWhether a tag no suggestion matches can be added — the entry that `created` reports.
placeholderstring'Add tag…'Placeholder text shown in the entry field.
maxnumber | nullnullMaximum number of tags allowed, or `null` for no limit.
createLabelstringPrefix of the create row, before the typed text. Defaults to the `tagsInputCreate` label.
removeLabelstringPrefix of a chip's remove `aria-label`. Defaults to the `tagsInputRemove` label.

Two-way models

Bind with [(name)], or one-way as an input.

PropTypeDefaultDescription
tagsstring[][]Current tags. Two-way bindable with `[(tags)]`.
disabledbooleanfalseWhether the input is disabled. Two-way bindable with `[(disabled)]`.

Outputs

EventPayloadDescription
createdstringEmits a tag that was added without matching a suggestion — create it on the backend here.

Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.