Indicate that content is loading with a spinner.
Use the .spinner class to display a spinner:
.spinner
<div class="spinner" role="status" aria-label="loading"></div>
Use the .spinner--sm class to reduce the spinner size, making it suitable for use inside of other components:
.spinner--sm
<span role="status"> <span class="spinner spinner--sm"></span> Loading... </span>
To display the spinner as a block-level element with some padding, use .spinner--block:
.spinner--block
<div class="spinner spinner--block" role="status" aria-label="loading"></div>
Use the <x-waterhole::spinner> component to display a spinner, including the correct accessibility attributes:
<x-waterhole::spinner>
<x-waterhole::spinner/>
No Results Found
Something Went Wrong