Getting StartedInstallation and setup guides 6
AIAI chat models, streaming, and history 1
FormInput and selection components 27
FlowWorkflow graph and execution surfaces 4
LayoutStructural layout components 9
NavigationMenu surfaces and hierarchical actions 7
OverlayModal and floating layer surfaces 3
FeedbackStatus, empty, progress, and loading placeholder patterns 6
UtilityGeneral-purpose interface utilities 7

Styling contract

Wrapper popover ships minimum theme styles, and the underlying primitive surface still exposes stable slot and state attributes for teams that need deeper shell customization.

Core data attributes

  • [data-slot="popover"] root with data-open, data-state, data-side, data-align, and data-disabled.
  • [data-slot="popover-trigger"] exposes aria-expanded, aria-controls, and matching data-state.
  • <tng-popover> carries the resolved data-side, data-align, and data-state after collision-aware positioning.
  • [data-slot="popover-panel"] carries panel state and [hidden] while closed.
  • [data-slot="popover-close"] for explicit in-panel dismissal actions.

Reference CSS

popover-styling.css

css
tng-popover {
  --tng-popover-panel-radius: 0.9rem;
  --tng-popover-z-overlay: 60;
}

[data-slot="popover-trigger"] {
  border-radius: 0.65rem;
}

[data-slot="popover-panel"] {
  background: var(--tng-semantic-background-surface);
  border: 1px solid var(--tng-semantic-border-strong);
  border-radius: 0.9rem;
  display: grid;
  gap: 0.75rem;
  min-width: 16rem;
  max-width: min(24rem, 90vw);
  padding: 1rem;
  box-shadow: 0 22px 42px color-mix(in srgb, var(--tng-semantic-foreground-primary) 22%, transparent);
}

[data-slot="popover-close"] {
  border-radius: 0.6rem;
  min-height: 2rem;
}

[data-slot="popover-panel"][hidden] {
  display: none !important;
}