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

Card is a structural surface primitive with optional wrapper components for consistent visual defaults.

tngCard and slot directives (primitives)

Attach directives to semantic elements to define the card structure while keeping full markup ownership.

Primitive attachment

html
<article tngCard>
  <header tngCardHeader>
    <h3 tngCardTitle>Card title</h3>
    <p tngCardDescription>Card description</p>
  </header>
  <section tngCardContent>Body content</section>
  <footer tngCardFooter>
    <div tngCardActions>
      <button type="button">Action</button>
    </div>
  </footer>
</article>
DirectiveSelectorData slotPurpose
TngCard[tngCard]cardRoot container for grouped content.
TngCardHeader[tngCardHeader]card-headerTop metadata section.
TngCardTitle[tngCardTitle]card-titlePrimary heading hook.
TngCardDescription[tngCardDescription]card-descriptionSupporting summary text.
TngCardContent[tngCardContent]card-contentMain body region.
TngCardFooter[tngCardFooter]card-footerFooter container for meta/actions.
TngCardMedia[tngCardMedia]card-mediaImage/video slot wrapper.
TngCardActions[tngCardActions]card-actionsAction row alignment hook.
TngCardDivider[tngCardDivider]card-dividerSeparator hook between sections.
TngCardLink[tngCardLink]card-linkFocusable link hook inside card surfaces.

tng-card wrappers (components)

Wrapper components apply baseline styles while preserving primitive slot contracts and composition.

Component attachment

html
<tng-card variant="outline" tone="neutral" padding="md">
  <tng-card-header>
    <tng-card-title>Card title</tng-card-title>
    <tng-card-description>Card description</tng-card-description>
  </tng-card-header>
  <tng-card-content>Body content</tng-card-content>
  <tng-card-footer>
    <tng-card-actions>
      <button type="button">Action</button>
    </tng-card-actions>
  </tng-card-footer>
</tng-card>
SurfaceInputTypeDefault
tng-cardvariant'ghost' | 'outline' | 'solid''solid'
tng-cardtone'neutral' | 'primary' | 'success' | 'warning' | 'danger' | 'info''neutral'
tng-cardpadding'none' | 'sm' | 'md' | 'lg''md'
tng-cardinteractivebooleanfalse
tng-cardelevatedbooleanfalse
tng-card-actionsalign'start' | 'end''end'
tng-card-linkhrefstring | null'#'
tng-card-linkdisabledbooleanfalse