Getting StartedInstallation and setup guides 5
LayoutWorkflow and structural layout components 7
OverlayModal and floating layer surfaces 3
FeedbackStatus, empty, progress, and loading placeholder patterns 5
FormInput and selection components 17
UtilityGeneral-purpose interface utilities 7
NavigationMenu surfaces and hierarchical actions 7

API reference

Component dialog uses the styled <tng-dialog> wrapper and sits on top of the same primitive contract documented on the separate headless dialog page.

Wrapper APIs

ElementInput / OutputTypeDescription
<tng-dialog>open, openChangebooleanControlled open state for wrapper dialog instances.
<tng-dialog>title, descriptionstringAccessible heading and description text rendered in the wrapper header.
<tng-dialog>size'sm' | 'md' | 'lg'Panel size styling hook.
<tng-dialog>closeOnEscape, closeOnBackdropbooleanDismiss policy for keyboard and backdrop interactions.
<tng-dialog>closed'escape' | 'backdrop' | 'close-button' | 'programmatic'Close reason payload for analytics and custom workflows.

Primitive directives

DirectivePurposeKey inputs
tngDialogRoot modal state, focus trap, and dismissal logic.open, defaultOpen, trapFocus, restoreFocus
tngDialogBackdrop, tngDialogPanelBackdrop dismissal target and panel semantics/ARIA wiring.closeOnBackdropClick, ariaLabel*
tngDialogTrigger, tngDialogCloseOpen and close controls with reason emission.[tngDialogTrigger], [tngDialogClose]
tngDialogTitle, tngDialogDescription, tngDialogActionsStructured slots and IDs for accessible dialog labeling.-

Keyboard contract (high level)

  • Tab/Shift+Tab wraps within dialog focusables when trapping is enabled.
  • Escape closes when closeOnEscape and dismissible are true.
  • Focus restores to the prior active element when restoreFocus is enabled.
  • Backdrop pointer down closes only when target is the backdrop host.