Loading indicatorLoading indicator
Ouvrir dans MOGA

Composant

Loading indicator

@m3e/loading-indicator · Officiel MOGA

M3 Expressive loader: a shape that morphs through seven shapes while it spins.

#m3e#material

npx motioncn-cli add m3e/loading-indicator

Version 0.0.1MIT3 téléchargements0 favoris

Mis à jour le 5 décembre 2026

L'utiliser dans MOGA

Cherchez-le sous « En ligne » dans la bibliothèque MOGA, ou lancez ceci dans le dossier du projet :

npx -y moga hub-import @m3e/loading-indicator

L'utiliser hors de MOGA (Motioncn)

Gratuit, sans compte. C'est du code web ordinaire qui se lit dans une page, React, Remotion et HyperFrames, avec les mêmes images que MOGA.

L'ajouter à votre projet avec shadcn

npx shadcn@latest add https://motioncn.dev/r/m3e/loading-indicator.json

Sans shadcn configuré, ceci marche aussi

npx motioncn-cli add m3e/loading-indicator

L'importer dans une page, sans build

import LoadingIndicator from 'https://motioncn.dev/m/m3e/loading-indicator.js';
import preset from 'https://motioncn.dev/m/theme.js';
LoadingIndicator.mount(document.querySelector('#stage'), { preset, duration: 5 }).play();

React, Remotion et HyperFrames

// React (https://motioncn.dev/r/player-react.json)
<Motion motion={LoadingIndicator} preset={preset} duration={5} fit />
// Remotion (https://motioncn.dev/r/player-remotion.json)
<MotionClip motion={LoadingIndicator} preset={preset} />
// HyperFrames (https://motioncn.dev/m/hyperframes.js)
follow(LoadingIndicator.mount(element, { preset, duration: 5 }), { start: 0 });