Skip to content

BarSkeleton

Examples

API Reference

Types come from the public API. A dash indicates no default is documented here.

BarLoadingSkeleton props

Public source
PropTypeDefaultDescription
keyKeepAliveKey<K, Ends> | undefined''The child's identity among its parent's children of one component, or a kept child's among its author's. The empty string by default.
onEmit((events: never) => NoInfer<Msg> | undefined) | undefined—Handle the child's events with a callback, or supply one handler per tag for tagged events. Return a parent message to dispatch it, or `undefined` to ignore the event.
props.idstringRequired
props.innerWidthnumberRequired
props.innerHeightnumberRequired
props.fillstring'var(--bkm-foreground)'
props.fillOpacitynumber0.45
props.barCountnumber—
props.backgroundOpacitynumber0
props.baseline"bottom" | "center"—
props.barFractionnumber—
props.durationSecondsnumber2
props.initialReducedMotionbooleanfalse