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

Skeleton exposes a small wrapper contract: CSS size inputs for block dimensions plus toggles for shimmer motion and corner radius.

Wrapper component

tng-skeleton renders the loading block for you, applies the default shimmer shell, and forwards the primitive state hooks underneath.

Wrapper usage

html
<tng-skeleton width="75%" height="1rem"></tng-skeleton>
<tng-skeleton width="100%" height="7rem" [rounded]="false"></tng-skeleton>
<tng-skeleton width="12rem" height="2.25rem" [animated]="false"></tng-skeleton>

Sizing and state inputs

Use CSS size strings for layout and boolean toggles to adjust the default shell without replacing the wrapper.

InputTypeDefaultNotes
widthstring'100%'Applied inline to the rendered block. Empty strings fall back to 100%.
heightstring'1rem'Applied inline to the rendered block. Empty strings fall back to 1rem.
animatedbooleantrueToggles the shimmer motion hook through data-animated.
roundedbooleantrueToggles the wrapper radius hook through data-rounded.

Primitive foundation

Under the hood, the wrapper uses tngSkeleton for the decorative semantics and slot and state attributes. Reach for the headless page when you want to own the element markup directly.

Primitive foundation

html
<div tngSkeleton class="skeleton-line"></div>
<div tngSkeleton [animated]="false" [rounded]="false" class="skeleton-block"></div>