MCPcopy
hub / github.com/loadingio/css-spinner

github.com/loadingio/css-spinner @v2.0.3 sqlite

repository ↗ · DeepWiki ↗ · release v2.0.3 ↗
435 symbols 975 edges 74 files 11 documented · 3%
README

css-spinner

Live Demo

Collection of 12 small, elegant pure css spinners for your website's loading animation.

css spinner

Features

  • vanilla - no external dependency and no additional library required.
  • standalone - use any of them separately.
  • customizable - use Stylus variables to quickly customize them to fit your needs.
  • easy to use - simply copy & paste while also easy to use with pug mixins.
  • small - average size 1K per spinner unminimized, unzipped

Usage

loading.io provides a web interface to quickly choose and copy your desired spinners, yet you can still find the source code in this repository. The basic usage is as:

  1. Find and download the html files of desired loader under dist folder.
  2. Copy its content to the place you want to use this loader.

Separated CSS and HTML files are also available under build folder for reusing CSS codes to reduce payload size.

We also provide stylus and pug source files for better integrating these spinners into your project. Find corresponding stylus and pug files for your desired spinners under src/ folders.

To use stylus files alone, you will have to provide variables listed in vars.styl.

npm package

This module is also released through npm as @loadingio/css-spinner.

Build

You can also customize all these loaders by building them yourself.

  • First, update vars.styl based on your needs.
  • make sure required packages are installed by npm install. You will need NPM / NodeJS pre-installed.
  • build with this command: npm run build
  • generated files will be in dist/ folder.

Browser Compatibility

These spinners use CSS Animation and Transformation which is widely supported by major modern browsers except IE<=9. To support older browsers like IE9, please use loading.io to generate alternative GIF Loaders instead.

License

All loader files here are released under CC0 License. However, you could attribute to this link: loading.io css spinner ( https://loading.io/css/ ) to give loading.io a thumbs-up.

Other source codes are released under MIT License.

Other Resources

If you want to make custom css loading animation, loading.io also provides loading.css - A pure CSS loading animation library, and a helper GIF builder. Don't forget to check it out and share your customized loader with us!

Core symbols most depended-on inside this repo

toggle
called by 59
web/static/assets/lib/bootstrap/4.6.0/js/src/modal.js
Event
called by 46
web/static/assets/lib/bootstrap/4.6.0/js/src/tooltip.js
update
called by 28
web/static/assets/lib/bootstrap/4.6.0/js/src/tooltip.js
_extends
called by 20
web/static/assets/lib/bootstrap/4.6.0/index.js
getTipElement
called by 19
web/static/assets/lib/bootstrap/4.6.0/js/src/tooltip.js
hide
called by 15
web/static/assets/lib/bootstrap/4.6.0/js/src/modal.js
_getItemIndex
called by 14
web/static/assets/lib/bootstrap/4.6.0/js/src/carousel.js
complete
called by 12
web/static/assets/lib/bootstrap/4.6.0/index.js

Shape

Function 225
Method 188
Class 22

Languages

TypeScript100%

Modules by API surface

web/static/assets/lib/bootstrap/4.6.0/js/src/tooltip.js40 symbols
web/static/assets/lib/bootstrap/4.6.0/index.js29 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/modal.js28 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/carousel.js28 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/dropdown.js22 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/collapse.js17 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/popover.js16 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/util.js15 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/toast.js15 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/scrollspy.js15 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/alert.js12 symbols
web/static/assets/lib/bootstrap/4.6.0/js/src/tab.js10 symbols

Dependencies from manifests, versioned

@babel/cli7.12.10 · 1×
@babel/core7.12.10 · 1×
@babel/preset-env7.12.11 · 1×
@loadingio/bootstrap.ext0.0.9 · 1×
@loadingio/debounce.js1.0.1 · 1×
@loadingio/ldc0.0.2 · 1×
@loadingio/ldcolorpicker3.0.1 · 1×
@loadingio/ldquery3.0.4 · 1×
@loadingio/loading.css3.0.0 · 1×
@loadingio/vscroll0.0.8 · 1×
@plotdb/block4.6.2 · 1×
@plotdb/colors0.0.2 · 1×

For agents

$ claude mcp add css-spinner \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact