Spinner

Create an animated loading spinner.

FrankenstyleKit (aka Franken UI 3.0) is now available. Support for the current version will gradually wind down. It will continue to work, but using the latest version is recommended for new projects so you can benefit from future updates and enhancements.

Table of contents

Usage

To create a spinner, add the data-uk-spinner attribute to a block element.

Ratio

Add the ratio: 3 parameter to the data-uk-spinner attribute to triple its size – or any other number, depending on how big you want the spinner to be.

Accessibility

The Spinner component automatically sets the appropriate WAI-ARIA roles, states and properties.

  • The spinner has the status role.
Customize

Customize your Franken UI experience.