Seed Bible extension API (v1.18.0) / seed-bible/components / SkeletonContainer
Function: SkeletonContainer()
function SkeletonContainer(props: {
children: ComponentChildren;
className?: string;
label: string;
}): Element;Accessible wrapper for a group of Skeleton blocks. Marks the region as a busy live status and exposes a single visually-hidden message, so a slow load reads as "loading" to assistive tech while the decorative blocks stay silent.
label is passed in already-translated (e.g. t("loading-profile")) so this component stays i18n-agnostic and reusable anywhere.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | { children: ComponentChildren; className?: string; label: string; } | - |
props.children | ComponentChildren | - |
props.className? | string | Layout classes for the wrapper (e.g. the surface's own grid/flex class). |
props.label | string | Already-translated loading message announced to screen readers. |
Returns
Element