Getting StartedInstall and bootstrap headless foundations 4
LayoutHeadless structural primitives for expandable and container patterns 6
OverlayHeadless modal and floating layer behavior 3
FeedbackHeadless notification and status communication patterns 5
FormHeadless input and selection contracts 17
UtilityReusable action, identity, and clipboard behavior 6
NavigationHeadless trails, trees, menus, and command surfaces 7

API reference

Headless Tag is split into the root tngTag directive plus optional tngTagIcon and tngTagClose parts.

Directive selector

Apply tngTag to the element that represents the tag. Add tngTagIcon for decorative leading content and tngTagClose only when the tag is removable.

Tag inputs and output

NameTypeDefaultNotes
tngTagDisabledbooleanfalseMarks the tag disabled and prevents remove requests.
tngTagRemovablebooleanfalseEnables removable behavior for a nested tngTagClose.
tngTagLabelstring | nullnullSource label used for the default close-button accessible name.
(tngTagRemoved)voidEmitted only when a remove request is accepted.

Close action

NameTypeDefaultNotes
tngTagCloseAriaLabelstring | nullnullExplicitly overrides the generated remove label.
KeyboardEnter / SpaceenabledTriggers remove when the parent tag is removable.
Host supportbutton or focusable elementReal buttons are preferred, but the directive can decorate another focusable host.