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 separator is a single directive surface. It exposes orientation and decorative semantics while leaving sizing, spacing, and surrounding layout to your markup.

Directive contract

Attach the directive to any block element that should behave as a divider in your layout.

Headless separator attachment

html
<div tngSeparator></div>
<div tngSeparator orientation="vertical"></div>
<div tngSeparator [decorative]="false"></div>
SurfaceValuePurpose
Selector[tngSeparator]Attaches the divider primitive to your chosen element.
Export aliastngSeparatorLets templates reference the directive instance if needed.
orientation'horizontal' | 'vertical'Controls divider axis and semantic orientation when non-decorative.
decorativebooleanWhen true, applies aria-hidden="true"; when false, applies role="separator".
Host hooksdata-slot="separator", data-orientationStable styling selectors for both visual and semantic variants.

Owner responsibilities

  • Define thickness, length, spacing, and any surrounding shell layout in your own CSS.
  • Keep decorative separators out of the accessibility tree unless the division has real meaning.
  • Provide surrounding semantics yourself when a separator divides regions, groups, or landmarks.