Loader
bk-loader: a full-viewport loading overlay with two variants, gated by [loading]. It's positioned fixed to cover the whole page (a "this is loading" state, not something confined to its own box), bound to a real async flag in practice. Click a button below for a 2-second preview.
Preview
A working preview of Loader in the Brickclay style. Try it.
Loading…
Interact with the preview to see events here.
variant="dots"
variant="spinners"
API reference
| Input | Type | Default | Description |
|---|---|---|---|
loading | boolean | false | Whether the loader renders at all. |
variant | 'dots' | 'spinners' | 'dots' | Visual style. |