# 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](https://book.lewe.com/bootstrap-visuals/assets/component-spinner.png "Spinner examples") ## Examples ```text wrap [bsv-spinner] ``` ```text wrap [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]`](button.md).