htmlbeginnermit

Spinning Ring Loader

A classic circular spinner.

4.2k457197147

About this module

The reliable ring spinner: a circular border that spins. Add `small`, `medium` or `large` sizes.

#loader#spinner#circular

Source code

Installation

  1. 1

    Create the files

    Create `index.html` and `style.css` in the same folder.

  2. 2

    Paste the code

    Copy each file's source into its matching file.

  3. 3

    Open in the browser

    Open `index.html` in any modern browser.

Usage

  1. 1

    Copy the HTML

    Paste the card markup where you need it.

    <link rel="stylesheet" href="style.css" />
    <div class="mh-loader-ring" role="status" aria-label="Loading"></div>
Overview
Categorycomponents
Frameworkhtml
Difficultybeginner
Licensemit
Versionv1.0.0
Features
  • Responsive layout
  • Theme-aware
  • No dependencies
Traits
  • ResponsiveYes
  • Dark modeYes
  • AccessibleYes
  • Production readyYes
Browser support
  • Chrome 90+
  • Firefox 90+
  • Safari 15+
  • Edge 90+

Related modules

Command Palette

Search modules and jump anywhere