Spinner

A Bootstrap spinner. The available attributes changed in 4.0.0; use type, size and label instead of the old shape, button and buttontext attributes.

Spinner examples
Spinner examples

Examples

[bsv-spinner]
[bsv-spinner type="grow" style="danger" size="lg" label="Loading results"]

Format

[bsv-spinner parameter="value" ...]

Parameters

Parameter Description Default
type Spinner shape: border or grow. border
style Bootstrap color style: any of the eight styles. primary
size Size: sm or lg. default
label Screen-reader text. Loading...

The spinner is a status element with role="status" and a visually hidden label. To place a spinner inside a button, wrap the spinner in [bsv-button].

Last updated: