Cookbooks / @defer
Base UI components are copy-in source with no vendor UI runtime package, so an @defer block splits only the widget you wrap. Pair chart, data-table, or virtual-scroll with base-skeleton as the placeholder. Scroll this chart into view (or wait for idle prefetch) to load it.
Scroll the chart into view. Until then you should see a skeleton placeholder (in production the chart JS is not in the initial bundle; this docs server prefetches on idle, so the placeholder can be brief).
@defer (on viewport; prefetch on idle) {
<base-chart [data]="kpiData()" />
} @placeholder {
<base-skeleton variant="rectangular" width="100%" height="16rem" />
}